ScriptResponse
struct ScriptResponse : FlowEntity, Equatable, Codable
extension Flow.ScriptResponse: CustomStringConvertible
The model to handle the Cadence code response
-
Declaration
Swift
public var data: Data -
Covert
dataintoFlow.ArgumenttypeDeclaration
Swift
public var fields: Argument? -
Declaration
Swift
public init(data: Data) -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func decode() -> Any? -
Declaration
Swift
public func decode<T>(_: T.Type) throws -> T where T : Decodable -
Declaration
Swift
public func decode<T>() throws -> T where T : Decodable -
Declaration
Swift
public var description: String { get }
View on GitHub