toJson method

Map<String, dynamic> toJson()

Implementation

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