toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var group = this.group;
  var groupId = this.groupId;
  var user = this.user;

  final json = <String, Object?>{};
  json[r'group'] = group;
  json[r'groupId'] = groupId;
  json[r'user'] = user;
  return json;
}