RawNft
public struct RawNft : NftModel
RawNft data model that only contains values of properties.
This model should be converted to a specific NftModel that contains specification for each property
-
Undocumented
Declaration
Swift
public let values: [AnyValue] -
Undocumented
Declaration
Swift
public init() -
Declaration
Swift
public init(from decoder: Decoder) throws -
Binds values from RawNft to properties of NftModel specified by generic parameter. Binding is based on order of parameters specified in the source code of the model.
Returns: Instance of specified type conforming to
NftModelDeclaration
Swift
public func toNftModel<T>() throws -> T where T : NftModel
View on GitHub
Install in Dash
RawNft Structure Reference