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