core.Map<core.String, core.dynamic> toJson() => { if (displayName != null) 'displayName': displayName!, if (mid != null) 'mid': mid!, if (name != null) 'name': name!, };