toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  json[r'object'] = this.object;
  json[r'name'] = this.name;
  json[r'last_used_at'] = this.lastUsedAt;
  if (this.verification != null) {
    json[r'verification'] = this.verification;
  } else {
    json[r'verification'] = null;
  }
  return json;
}