toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.requests != null) {
    json[r'requests'] = this.requests;
  } else {
    json[r'requests'] = null;
  }
  if (this.spendCents != null) {
    json[r'spendCents'] = this.spendCents;
  } else {
    json[r'spendCents'] = null;
  }
  if (this.t != null) {
    json[r't'] = this.t;
  } else {
    json[r't'] = null;
  }
  if (this.tokens != null) {
    json[r'tokens'] = this.tokens;
  } else {
    json[r'tokens'] = null;
  }
  return json;
}