toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = Map<String, dynamic>();
  if (this.group != null) {
    data['group'] = this.group!.toJson();
  }
  if (this.opUser != null) {
    data['opUser'] = this.opUser!.toJson();
  }
  if (this.changedUser != null) {
    data['changedUser'] = this.changedUser!.toJson();
  }
  return data;
}