toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.account != null) {
    json[r'account'] = this.account;
  } else {
    json[r'account'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.kind != null) {
    json[r'kind'] = this.kind;
  } else {
    json[r'kind'] = null;
  }
  if (this.platform != null) {
    json[r'platform'] = this.platform;
  } else {
    json[r'platform'] = null;
  }
  return json;
}