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