ModelListDecoder
public protocol ModelListDecoder
ModelListDecoder
provides decoding and list functionality.
Warning
Although this haspublic
access, it is intended for internal & codegen use and should not be used
directly by host applications. The behavior of this may change without warning. Though it is not used by host
application making any change to these public
types should be backward compatible, otherwise it will be a breaking
change.
-
Declaration
Swift
static func decode<ModelType>(modelType: ModelType.Type, decoder: Decoder) -> AnyModelListProvider<ModelType>? where ModelType : Model