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