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