LedgerOperations class

Annotations
  • @freezed

Constructors

LedgerOperations({int? fee, @Default([]) List<TransactionMovement> transactionMovements, @Default([]) List<UnspentOutputs> unspentOutputs, @Default([]) List<ConsumedInputs> consumedInputs})
const
factory
LedgerOperations.fromJson(Map<String, dynamic> json)
factory

Properties

consumedInputs List<ConsumedInputs>
Unspent outputs: remaining unspent outputs
no setterinherited
copyWith → $LedgerOperationsCopyWith<LedgerOperations>
Create a copy of LedgerOperations with the given fields replaced by the non-null parameter values.
no setterinherited
fee int?
Fee: transaction fee (distributed over the node rewards)
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionMovements List<TransactionMovement>
Transaction movements: assets transfers
no setterinherited
unspentOutputs List<UnspentOutputs>
Unspent outputs: remaining unspent outputs
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this LedgerOperations to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited