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