toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'yago_team'] = this.yagoTeam;
  json[r'user_name'] = this.userName;
  json[r'date'] = this.date.toUtc().toIso8601String();
  json[r'comment'] = this.comment;
  return json;
}