toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final data = new Map<String, dynamic>();

  data['id'] = this.id;
  data['code'] = this.code;
  data['name'] = this.name;
  data['dirty'] = this.dirty;
  data['userGroupUsers'] = this.userGroupUsers;
  return data;
}