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