Script
struct Script : FlowEntity, Equatable
extension Flow.Script: CustomStringConvertible
extension Flow.Script: Codable
Represents a Cadence script
-
Raw script data
Declaration
Swift
public var data: Data
-
Script text in UTF-8 encoding
Declaration
Swift
public var text: String { get }
-
Declaration
Swift
public init(text: String)
-
Declaration
Swift
public init(data: Data)
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws