toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (hasSyncables != null) {
    _json[r'has_syncables'] = hasSyncables;
  }
  if (mattermostGroupId != null) {
    _json[r'mattermost_group_id'] = mattermostGroupId;
  }
  if (primaryKey != null) {
    _json[r'primary_key'] = primaryKey;
  }
  if (name != null) {
    _json[r'name'] = name;
  }
  return _json;
}