toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'id': id,
      'source_account':
          sourceAccount == null ? null : serializeNull(sourceAccount),
      'paging_token': pagingToken,
      'created_at': createdAt,
      'transaction_hash': transactionHash,
      'type': type,
      '_links': links,
      'trustor': trustor == null ? null : serializeNull(trustor),
      'trustee': trustee == null ? null : serializeNull(trustee),
      'asset_type': assetType,
      'asset_code': assetCode,
      'asset_issuer': assetIssuer,
      'authorize': authorize
    };