Data constructor
const
Data({})
Implementation
const factory Data({
/// Code: smart contract code (hexadecimal),
String? code,
/// Content: free zone for data hosting (string or hexadecimal)
String? content,
/// Ownership: authorization/delegations containing list of secrets and their authorized public keys to proof the ownership
@Default([]) final List<Ownership> ownerships,
/// Ledger: asset transfers
Ledger? ledger,
/// Recipients: For non asset transfers, the list of recipients of the transaction (e.g Smart contract interactions)
@Default([]) final List<String> recipients,
/// Recipients: For non asset transfers, the list of recipients of the transaction (e.g Smart contract interactions)
@Default([]) final List<Recipient> actionRecipients,
}) = _Data;