toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['subscriberId'] = this.subscriberId;
  data['amount'] = this.amount;
  data['type'] = this.type;
  data['purpose'] = this.purpose;
  data['status'] = this.status;
  data['confirmed'] = this.confirmed;
  data['transactionId'] = this.transactionId;
  data['transactionHash'] = this.transactionHash;
  data['meta'] = this.meta;
  data['provider'] = this.provider;
  data['createdAt'] = this.createdAt;
  data['updatedAt'] = this.updatedAt;
  return data;
}