Decodable
protocol Decodable
-
Prints the values and returns a dictionary of the values
Allows the printing of the
Decodable
values and returns a dictionary of the values.Declaration
Swift
@discardableResult public func printValues(_ printValues: Bool = false) -> [String : Any]
Parameters
printValues
Defaulrs to
false
. Whenntrue
, the values are printed tostdout
.Return Value
A dictionary of keys and values for the contents of the model.