DatabaseDecoder
open class DatabaseDecoder
Class used to construct a Model from a row in the database
-
Decode from a dictionary [String: Any] to a Decodable type
Declaration
Swift
open func decode<T>(_ type: T.Type, _ values: [String : Any?], dateEncodingStrategy: DateEncodingFormat) throws -> T where T : Decodable