toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['userID'] = this.userID;
  data['userName'] = this.userName;
  data['groupID'] = this.groupID;
  return data;
}