Skip to content
Snippets Groups Projects

Bindings models wrapper

Merged Dariusz Rybicki requested to merge feature/bindings-models-wrapper into main
Files
12
+ 19
0
public struct Fact: Equatable {
public init(
fact: String,
type: Int
) {
self.fact = fact
self.type = type
}
public var fact: String
public var type: Int
}
extension Fact: Codable {
enum CodingKeys: String, CodingKey {
case fact = "Fact"
case type = "Type"
}
}
Loading