toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'display_name'] = this.displayName;
    json[r'id'] = this.id;
  if (this.totalUsers != null) {
    json[r'total_users'] = this.totalUsers;
  } else {
    json[r'total_users'] = null;
  }
  return json;
}