Made Amiibo models Codable and Identifiable, and filters Hashable.
This commit is contained in:
1 parent
8fa4d50734
commit
a28842eb0a
24 files changed
+352
-190
No files matched your search
@@ -37,5 +37,12 @@ public struct AmiiboSeries: KeyNameModel {
|
||||
self.key = payload.key
|
||||
self.name = payload.name
|
||||
}
|
||||
|
||||
|
||||
// MARK: Computed
|
||||
|
||||
/// The ``key`` of this amiibo series.
|
||||
public var id: String {
|
||||
key
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user