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