toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'address': address,
      'balance': balance!.toJson(),
      'chainLength': chainLength,
      'crossValidationStamps': List<dynamic>.from(
          crossValidationStamps!.map((CrossValidationStamp x) => x.toJson())),
      'data': data!.toJson(),
      'inputs':
          List<dynamic>.from(inputs!.map((TransactionInput x) => x.toJson())),
      'originSignature': originSignature,
      'previousPublicKey': previousPublicKey,
      'previousSignature': previousSignature,
      'type': type,
      'validationStamp': validationStamp!.toJson(),
      'version': version,
    };