toJson method

Map<String, dynamic> toJson()
override

Implementation

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

  data['id'] = this.id;
  data['userId'] = this.userId;
  data['groupId'] = this.groupId;
  data['dirty'] = this.dirty;
  return data;
}