core.Map<core.String, core.dynamic> toJson() => { if (certificates != null) 'certificates': certificates!.map((value) => value.toJson()).toList(), };