toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'address': address,
      'amount': amount.map((amount) => amount.toJson()).toList(),
      'stake_address': stakeAddress,
      'type': type,
      'script': script,
    };