From 5bbb6c4dcbd485d5d5f16aa4e5a444d811bc8f2a Mon Sep 17 00:00:00 2001 From: lowrt Date: Sat, 17 Oct 2026 14:51:48 +0800 Subject: [PATCH 1/3] chore(ios): normalize project.pbxproj ordering --- ios/Runner.xcodeproj/project.pbxproj | 183 ++++++++++++++------------- 1 file changed, 93 insertions(+), 90 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 58633a8db..08ac9879c 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -40,18 +40,11 @@ 9F74F772B6E8760DD47AB2FE /* Sounds/normal.aiff in Resources */ = {isa = PBXBuildFile; fileRef = B916667D1B2356583B174E80 /* Sounds/normal.aiff */; }; A8D382D04B4ACD327E29F46B /* Sounds/eq.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 682D0165E2FF3895C5B252C5 /* Sounds/eq.aiff */; }; AA0000000000000000000C02 /* CompassPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000C01 /* CompassPlugin.swift */; }; - AA0000000000000000000H02 /* NetworkPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000H01 /* NetworkPlugin.swift */; }; AA0000000000000000000D02 /* DeviceInfoPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000D01 /* DeviceInfoPlugin.swift */; }; - NL0G00000000000000000002 /* NativeLogPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = NL0G00000000000000000001 /* NativeLogPlugin.swift */; }; - NS1K00000000000000000002 /* NotificationSettingsLinkPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = NS1K00000000000000000001 /* NotificationSettingsLinkPlugin.swift */; }; - NL0G00000000000000000004 /* NativeLogTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = NL0G00000000000000000003 /* NativeLogTests.swift */; }; - LR0S00000000000000000002 /* LocationReportSender.swift in Sources */ = {isa = PBXBuildFile; fileRef = LR0S00000000000000000001 /* LocationReportSender.swift */; }; - LR0S00000000000000000004 /* LocationReportSenderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = LR0S00000000000000000003 /* LocationReportSenderTests.swift */; }; - NSE000000000000000000002 /* NotificationService.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = NSE000000000000000000001 /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - NSE000000000000000000012 /* NotificationDeliveryBreadcrumbTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = NSE000000000000000000011 /* NotificationDeliveryBreadcrumbTests.swift */; }; AA0000000000000000000E02 /* ScreenWakePlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000E01 /* ScreenWakePlugin.swift */; }; AA0000000000000000000F02 /* ApnsTokenPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000F01 /* ApnsTokenPlugin.swift */; }; AA0000000000000000000G02 /* LocationTrackStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000G01 /* LocationTrackStore.swift */; }; + AA0000000000000000000H02 /* NetworkPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000H01 /* NetworkPlugin.swift */; }; AE92AD9862B7A721B0924557 /* Sounds/eew.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 7A6E88CB92902C0CACB07792 /* Sounds/eew.aiff */; }; CAC4EF00000000000000B001 /* MapCachePlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = CAC4EF00000000000000B002 /* MapCachePlugin.swift */; }; CAC4EF00000000000000C001 /* BackgroundLocationPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = CAC4EF00000000000000C002 /* BackgroundLocationPlugin.swift */; }; @@ -72,6 +65,13 @@ F4E200000000000000000001 /* DPIPWidgetProviderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4E200000000000000000002 /* DPIPWidgetProviderTests.swift */; }; F4F200000000000000000001 /* WidgetTownshipResolverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4F200000000000000000002 /* WidgetTownshipResolverTests.swift */; }; F56D5186166227E46D96919D /* Sounds/info.aiff in Resources */ = {isa = PBXBuildFile; fileRef = F9BCED8E5498E9FD7A454E8F /* Sounds/info.aiff */; }; + LR0S00000000000000000002 /* LocationReportSender.swift in Sources */ = {isa = PBXBuildFile; fileRef = LR0S00000000000000000001 /* LocationReportSender.swift */; }; + LR0S00000000000000000004 /* LocationReportSenderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = LR0S00000000000000000003 /* LocationReportSenderTests.swift */; }; + NL0G00000000000000000002 /* NativeLogPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = NL0G00000000000000000001 /* NativeLogPlugin.swift */; }; + NL0G00000000000000000004 /* NativeLogTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = NL0G00000000000000000003 /* NativeLogTests.swift */; }; + NS1K00000000000000000002 /* NotificationSettingsLinkPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = NS1K00000000000000000001 /* NotificationSettingsLinkPlugin.swift */; }; + NSE000000000000000000002 /* NotificationService.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = NSE000000000000000000001 /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + NSE000000000000000000012 /* NotificationDeliveryBreadcrumbTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = NSE000000000000000000011 /* NotificationDeliveryBreadcrumbTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -89,19 +89,19 @@ remoteGlobalIDString = 27CACBA0305BD77F0046F79C; remoteInfo = DPIPWidgetIntentsExtension; }; - NSE000000000000000000003 /* PBXContainerItemProxy */ = { + 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 97C146E61CF9000F007C117D /* Project object */; proxyType = 1; - remoteGlobalIDString = NSE00000000000000000000C; - remoteInfo = NotificationService; + remoteGlobalIDString = 97C146ED1CF9000F007C117D; + remoteInfo = Runner; }; - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { + NSE000000000000000000003 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 97C146E61CF9000F007C117D /* Project object */; proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; + remoteGlobalIDString = NSE00000000000000000000C; + remoteInfo = NotificationService; }; /* End PBXContainerItemProxy section */ @@ -178,18 +178,11 @@ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; A382CD9DEA741E45DBF741D7 /* Sounds/rain.aiff */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = audio.aiff; path = Sounds/rain.aiff; sourceTree = ""; }; AA0000000000000000000C01 /* CompassPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CompassPlugin.swift; sourceTree = ""; }; - AA0000000000000000000H01 /* NetworkPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkPlugin.swift; sourceTree = ""; }; AA0000000000000000000D01 /* DeviceInfoPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceInfoPlugin.swift; sourceTree = ""; }; - NL0G00000000000000000001 /* NativeLogPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NativeLogPlugin.swift; sourceTree = ""; }; - NS1K00000000000000000001 /* NotificationSettingsLinkPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationSettingsLinkPlugin.swift; sourceTree = ""; }; - NL0G00000000000000000003 /* NativeLogTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NativeLogTests.swift; sourceTree = ""; }; - LR0S00000000000000000001 /* LocationReportSender.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationReportSender.swift; sourceTree = ""; }; - LR0S00000000000000000003 /* LocationReportSenderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationReportSenderTests.swift; sourceTree = ""; }; - NSE000000000000000000001 /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; }; - NSE000000000000000000011 /* NotificationDeliveryBreadcrumbTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationDeliveryBreadcrumbTests.swift; sourceTree = ""; }; AA0000000000000000000E01 /* ScreenWakePlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenWakePlugin.swift; sourceTree = ""; }; AA0000000000000000000F01 /* ApnsTokenPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApnsTokenPlugin.swift; sourceTree = ""; }; AA0000000000000000000G01 /* LocationTrackStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationTrackStore.swift; sourceTree = ""; }; + AA0000000000000000000H01 /* NetworkPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkPlugin.swift; sourceTree = ""; }; B916667D1B2356583B174E80 /* Sounds/normal.aiff */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = audio.aiff; path = Sounds/normal.aiff; sourceTree = ""; }; CAC4EF00000000000000B002 /* MapCachePlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MapCachePlugin.swift; sourceTree = ""; }; CAC4EF00000000000000C002 /* BackgroundLocationPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BackgroundLocationPlugin.swift; sourceTree = ""; }; @@ -204,12 +197,19 @@ DP1PF1REBASE0002PL1ST020 /* GoogleService-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; E7A100000000000000000002 /* CurrentWeatherWidgetSnapshotWriterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurrentWeatherWidgetSnapshotWriterTests.swift; sourceTree = ""; }; E7A200000000000000000002 /* SavedCurrentWeatherWidgetRefreshServiceTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SavedCurrentWeatherWidgetRefreshServiceTests.swift; sourceTree = ""; }; - F4E200000000000000000002 /* DPIPWidgetProviderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DPIPWidgetProviderTests.swift; sourceTree = ""; }; E9F000000000000000000002 /* ForecastWidgetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForecastWidgetTests.swift; sourceTree = ""; }; E9F000000000000000000012 /* WidgetHTTPTimeSourceTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetHTTPTimeSourceTests.swift; sourceTree = ""; }; + F4E200000000000000000002 /* DPIPWidgetProviderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DPIPWidgetProviderTests.swift; sourceTree = ""; }; F4F200000000000000000002 /* WidgetTownshipResolverTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetTownshipResolverTests.swift; sourceTree = ""; }; F9BCED8E5498E9FD7A454E8F /* Sounds/info.aiff */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = audio.aiff; path = Sounds/info.aiff; sourceTree = ""; }; FD769D73A7C4BE3619C1F9FB /* Sounds/report.aiff */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = audio.aiff; path = Sounds/report.aiff; sourceTree = ""; }; + LR0S00000000000000000001 /* LocationReportSender.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationReportSender.swift; sourceTree = ""; }; + LR0S00000000000000000003 /* LocationReportSenderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationReportSenderTests.swift; sourceTree = ""; }; + NL0G00000000000000000001 /* NativeLogPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NativeLogPlugin.swift; sourceTree = ""; }; + NL0G00000000000000000003 /* NativeLogTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NativeLogTests.swift; sourceTree = ""; }; + NS1K00000000000000000001 /* NotificationSettingsLinkPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationSettingsLinkPlugin.swift; sourceTree = ""; }; + NSE000000000000000000001 /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; }; + NSE000000000000000000011 /* NotificationDeliveryBreadcrumbTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationDeliveryBreadcrumbTests.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ @@ -219,8 +219,8 @@ CurrentWeatherSnapshotAddress.swift, CurrentWeatherSnapshotStorage.swift, ForecastSnapshotLocation.swift, - WidgetLocationCatalog.swift, NativeLog.swift, + WidgetLocationCatalog.swift, ); target = 2715FCD430570C1C0014DC8A /* DPIPWidgetsExtension */; }; @@ -240,8 +240,8 @@ CurrentWeatherSnapshotAddress.swift, CurrentWeatherSnapshotStorage.swift, ForecastSnapshotLocation.swift, - WidgetLocationCatalog.swift, NativeLog.swift, + WidgetLocationCatalog.swift, ); target = 331C8080294A63A400263BE5 /* RunnerTests */; }; @@ -286,18 +286,15 @@ isa = PBXFileSystemSynchronizedBuildFileExceptionSet; membershipExceptions = ( CurrentApparentTemperature.swift, - CurrentWeatherClient.swift, CurrentLocationCurrentWeatherWidgetRefreshService.swift, + CurrentWeatherClient.swift, CurrentWeatherSnapshotTime.swift, - CurrentWeatherWidgetSnapshotFactory.swift, CurrentWeatherWidgetRefreshPipeline.swift, + CurrentWeatherWidgetSnapshotFactory.swift, CurrentWeatherWidgetSnapshotWriter.swift, DPIPWidgetEntry.swift, DPIPWidgetProviderSupport.swift, DPIPWidgets.swift, - RefreshForecastIntent.swift, - Localizable.xcstrings, - WeatherWidgetConfiguration.intentdefinition, ForecastClient.swift, ForecastRemoteDTO.swift, ForecastWidgetExpiry.swift, @@ -305,8 +302,11 @@ ForecastWidgetSelection.swift, ForecastWidgetSnapshot.swift, ForecastWidgetSnapshotStore.swift, + Localizable.xcstrings, + RefreshForecastIntent.swift, SavedCurrentWeatherWidgetRefreshService.swift, SavedWidgetLocationResolver.swift, + WeatherWidgetConfiguration.intentdefinition, WidgetCurrentLocationClient.swift, WidgetHTTPTimeSource.swift, WidgetLocationTarget.swift, @@ -355,7 +355,7 @@ 270FCE9B305CD066003D1E62 /* Shared */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (270FCEA1305CD07F003D1E62 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 270FCEA3305CD1DD003D1E62 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 270FCEA6305CD2D6003D1E62 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, E7A100000000000000000003 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, NSE000000000000000000008 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Shared; sourceTree = ""; }; 2715FCDB30570C1C0014DC8A /* DPIPWidgets */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (2715FCEA30570C1D0014DC8A /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 27CACB9C305BD2A60046F79C /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 27CACD20305C6E2D0046F79C /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 27CACBB1305BD7E60046F79C /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = DPIPWidgets; sourceTree = ""; }; 27CACBA4305BD77F0046F79C /* DPIPWidgetIntentsExtension */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (27CACC5E305C66560046F79C /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 27CACBAF305BD77F0046F79C /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = DPIPWidgetIntentsExtension; sourceTree = ""; }; - NSE000000000000000000005 /* NotificationService */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (NSE000000000000000000006 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, NSE000000000000000000007 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = NotificationService; sourceTree = ""; }; + NSE000000000000000000005 /* NotificationService */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (NSE000000000000000000007 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, NSE000000000000000000006 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = NotificationService; sourceTree = ""; }; /* End PBXFileSystemSynchronizedRootGroup section */ /* Begin PBXFrameworksBuildPhase section */ @@ -376,22 +376,22 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - NSE00000000000000000000A /* Frameworks */ = { + 97C146EB1CF9000F007C117D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 97C146EB1CF9000F007C117D /* Frameworks */ = { + E4840FFE0A305DC1BCA83CC3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - E4840FFE0A305DC1BCA83CC3 /* Frameworks */ = { + NSE00000000000000000000A /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( @@ -573,28 +573,6 @@ productReference = 27CACBA1305BD77F0046F79C /* DPIPWidgetIntentsExtension.appex */; productType = "com.apple.product-type.app-extension"; }; - NSE00000000000000000000C /* NotificationService */ = { - isa = PBXNativeTarget; - buildConfigurationList = NSE000000000000000000010 /* Build configuration list for PBXNativeTarget "NotificationService" */; - buildPhases = ( - NSE000000000000000000009 /* Sources */, - NSE00000000000000000000A /* Frameworks */, - NSE00000000000000000000B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - fileSystemSynchronizedGroups = ( - NSE000000000000000000005 /* NotificationService */, - ); - name = NotificationService; - packageProductDependencies = ( - ); - productName = NotificationService; - productReference = NSE000000000000000000001 /* NotificationService.appex */; - productType = "com.apple.product-type.app-extension"; - }; 331C8080294A63A400263BE5 /* RunnerTests */ = { isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; @@ -640,6 +618,28 @@ productReference = 97C146EE1CF9000F007C117D /* Runner.app */; productType = "com.apple.product-type.application"; }; + NSE00000000000000000000C /* NotificationService */ = { + isa = PBXNativeTarget; + buildConfigurationList = NSE000000000000000000010 /* Build configuration list for PBXNativeTarget "NotificationService" */; + buildPhases = ( + NSE000000000000000000009 /* Sources */, + NSE00000000000000000000A /* Frameworks */, + NSE00000000000000000000B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + NSE000000000000000000005 /* NotificationService */, + ); + name = NotificationService; + packageProductDependencies = ( + ); + productName = NotificationService; + productReference = NSE000000000000000000001 /* NotificationService.appex */; + productType = "com.apple.product-type.app-extension"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -657,9 +657,6 @@ 27CACBA0305BD77F0046F79C = { CreatedOnToolsVersion = 26.6; }; - NSE00000000000000000000C = { - CreatedOnToolsVersion = 26.6; - }; 331C8080294A63A400263BE5 = { CreatedOnToolsVersion = 14.0; TestTargetID = 97C146ED1CF9000F007C117D; @@ -668,6 +665,9 @@ CreatedOnToolsVersion = 7.3.1; LastSwiftMigration = 1100; }; + NSE00000000000000000000C = { + CreatedOnToolsVersion = 26.6; + }; }; }; buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; @@ -714,13 +714,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - NSE00000000000000000000B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 331C807F294A63A400263BE5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -751,6 +744,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + NSE00000000000000000000B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -802,13 +802,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - NSE000000000000000000009 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 331C807D294A63A400263BE5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -865,6 +858,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + NSE000000000000000000009 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -878,16 +878,16 @@ target = 27CACBA0305BD77F0046F79C /* DPIPWidgetIntentsExtension */; targetProxy = 27CACBA8305BD77F0046F79C /* PBXContainerItemProxy */; }; - NSE000000000000000000004 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = NSE00000000000000000000C /* NotificationService */; - targetProxy = NSE000000000000000000003 /* PBXContainerItemProxy */; - }; 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 97C146ED1CF9000F007C117D /* Runner */; targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; }; + NSE000000000000000000004 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = NSE00000000000000000000C /* NotificationService */; + targetProxy = NSE000000000000000000003 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1263,6 +1263,7 @@ BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 98Q7JARYZF; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.exptech.dpip.RunnerTests; @@ -1280,6 +1281,7 @@ BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 98Q7JARYZF; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.exptech.dpip.RunnerTests; @@ -1295,6 +1297,7 @@ BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 98Q7JARYZF; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.exptech.dpip.RunnerTests; @@ -1491,8 +1494,8 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1584,16 +1587,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - NSE000000000000000000010 /* Build configuration list for PBXNativeTarget "NotificationService" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - NSE00000000000000000000D /* Debug */, - NSE00000000000000000000E /* Release */, - NSE00000000000000000000F /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1624,6 +1617,16 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + NSE000000000000000000010 /* Build configuration list for PBXNativeTarget "NotificationService" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + NSE00000000000000000000D /* Debug */, + NSE00000000000000000000E /* Release */, + NSE00000000000000000000F /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ /* Begin XCLocalSwiftPackageReference section */ From 5aed56ccf88f81f493149513d6ee3579fb07ad79 Mon Sep 17 00:00:00 2001 From: lowrt Date: Sat, 17 Oct 2026 16:23:51 +0800 Subject: [PATCH 2/3] chore(deps): update dependencies --- pubspec.lock | 12 ++++++------ pubspec.yaml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index ed39ce630..38cc9f7aa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -457,10 +457,10 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "9ec135696554923c59339d46dd50adbaf81099be06ffda0fb9c06f410aea9137" + sha256: "541a82723c84298f3ca46a6c2186935aa21ad529ad1f1423d67af18040494f51" url: "https://pub.dev" source: hosted - version: "4.0.0-dev.3" + version: "4.0.1" freezed_annotation: dependency: "direct main" description: @@ -625,10 +625,10 @@ packages: dependency: transitive description: name: in_app_purchase_android - sha256: c04e2cad0470fc868cb0ea06477648f003220b1b6612909db83528ca83ac0905 + sha256: eac857f7408769a68194be99ceb233ad4e3599e55ccd6422afaf0c7fd5066738 url: "https://pub.dev" source: hosted - version: "0.5.2" + version: "0.5.4" in_app_purchase_platform_interface: dependency: transitive description: @@ -641,10 +641,10 @@ packages: dependency: transitive description: name: in_app_purchase_storekit - sha256: "9602e249a0e30351f047d5715957f27709ed7b42f631fba8941dcad51489932a" + sha256: "0d7506466d3865a2a5a3d414b90fb373f6b8908dbb6654dcb59e665e8a5b1105" url: "https://pub.dev" source: hosted - version: "0.4.11+1" + version: "0.4.14" intl: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 94856ccd4..eb6c8b663 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: # golden tests were recorded against (lib/features/earthquake/data/ # ml_intensity_service.dart). Already in the lock through the SDK tooling. crypto: ^3.0.6 - dio: ^5.10.0 + dio: ^5.11.0 # Firebase pinned deliberately — a newer major bumps the min iOS target and # breaks older-device compatibility. Do not upgrade without checking that. # Pinned to the exact version (not `^`) so a plain `pub upgrade` can't drift @@ -156,7 +156,7 @@ dev_dependencies: # it can no longer compile. Only the 4.0 line (dev.3 today) supports 3.13; # pinned as prerelease until it goes stable. build_runner: ^2.16.0 - freezed: ^4.0.0-dev.3 + freezed: ^4.0.0 json_serializable: ^6.14.1 url_launcher_platform_interface: ^2.3.2 From 8d4bad847068d1c94d9ae7ba138035e78c4e3c9f Mon Sep 17 00:00:00 2001 From: lowrt Date: Sat, 17 Oct 2026 16:24:42 +0800 Subject: [PATCH 3/3] chore: format --- lib/core/geo/town.freezed.dart | 19 ++- .../domain/bug_thread.freezed.dart | 57 ++++++--- .../domain/release_note.freezed.dart | 38 ++++-- .../domain/aed_detail.freezed.dart | 19 ++- .../domain/restroom_detail.freezed.dart | 19 ++- .../domain/shelter_detail.freezed.dart | 19 ++- .../domain/earthquake_report.freezed.dart | 57 ++++++--- .../earthquake/domain/eew.freezed.dart | 38 ++++-- .../partial_earthquake_report.freezed.dart | 19 ++- .../earthquake/domain/rts.freezed.dart | 38 ++++-- .../domain/tsunami_report.freezed.dart | 95 ++++++++++----- .../typhoon/domain/storm_circle.freezed.dart | 19 ++- .../domain/typhoon_cyclone.freezed.dart | 38 ++++-- .../domain/typhoon_potential.freezed.dart | 57 ++++++--- .../domain/typhoon_probability.freezed.dart | 57 ++++++--- .../typhoon/domain/typhoon_track.freezed.dart | 95 ++++++++++----- .../domain/typhoon_warning.freezed.dart | 114 ++++++++++++------ .../domain/lightning_snapshot.freezed.dart | 38 ++++-- .../weather/domain/rain_snapshot.freezed.dart | 38 ++++-- .../weather/domain/rain_trend.freezed.dart | 19 ++- .../domain/weather_forecast.freezed.dart | 57 ++++++--- .../domain/weather_realtime.freezed.dart | 76 ++++++++---- .../domain/weather_snapshot.freezed.dart | 38 ++++-- .../domain/weather_station.freezed.dart | 19 ++- .../weather/domain/weather_trend.freezed.dart | 19 ++- 25 files changed, 754 insertions(+), 348 deletions(-) diff --git a/lib/core/geo/town.freezed.dart b/lib/core/geo/town.freezed.dart index fb93b0d52..84e958fe9 100644 --- a/lib/core/geo/town.freezed.dart +++ b/lib/core/geo/town.freezed.dart @@ -29,16 +29,21 @@ $TownCopyWith get copyWith => _$TownCopyWithImpl(this as Town, _$ide @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is Town&&(identical(other.code, code) || other.code == code)&&(identical(other.city, city) || other.city == city)&&(identical(other.town, town) || other.town == town)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.cityLevel, cityLevel) || other.cityLevel == cityLevel)&&(identical(other.townLevel, townLevel) || other.townLevel == townLevel)); + final _this = this as Town; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Town&&(identical(other.code, _this.code) || other.code == _this.code)&&(identical(other.city, _this.city) || other.city == _this.city)&&(identical(other.town, _this.town) || other.town == _this.town)&&(identical(other.lat, _this.lat) || other.lat == _this.lat)&&(identical(other.lng, _this.lng) || other.lng == _this.lng)&&(identical(other.cityLevel, _this.cityLevel) || other.cityLevel == _this.cityLevel)&&(identical(other.townLevel, _this.townLevel) || other.townLevel == _this.townLevel)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,code,city,town,lat,lng,cityLevel,townLevel); +int get hashCode { + final _this = this as Town; + return Object.hash(runtimeType,_this.code,_this.city,_this.town,_this.lat,_this.lng,_this.cityLevel,_this.townLevel); +} @override String toString() { - return 'Town(code: $code, city: $city, town: $town, lat: $lat, lng: $lng, cityLevel: $cityLevel, townLevel: $townLevel)'; + final _this = this as Town; + return 'Town(code: ${_this.code}, city: ${_this.city}, town: ${_this.town}, lat: ${_this.lat}, lng: ${_this.lng}, cityLevel: ${_this.cityLevel}, townLevel: ${_this.townLevel})'; } @@ -240,16 +245,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _Town&&(identical(other.code, code) || other.code == code)&&(identical(other.city, city) || other.city == city)&&(identical(other.town, town) || other.town == town)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.cityLevel, cityLevel) || other.cityLevel == cityLevel)&&(identical(other.townLevel, townLevel) || other.townLevel == townLevel)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Town&&(identical(other.code, code) || other.code == code)&&(identical(other.city, city) || other.city == city)&&(identical(other.town, town) || other.town == town)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.cityLevel, cityLevel) || other.cityLevel == cityLevel)&&(identical(other.townLevel, townLevel) || other.townLevel == townLevel)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,code,city,town,lat,lng,cityLevel,townLevel); +int get hashCode { + return Object.hash(runtimeType,code,city,town,lat,lng,cityLevel,townLevel); +} @override String toString() { - return 'Town(code: $code, city: $city, town: $town, lat: $lat, lng: $lng, cityLevel: $cityLevel, townLevel: $townLevel)'; + return 'Town(code: $code, city: $city, town: $town, lat: $lat, lng: $lng, cityLevel: $cityLevel, townLevel: $townLevel)'; } diff --git a/lib/features/bug_tracker/domain/bug_thread.freezed.dart b/lib/features/bug_tracker/domain/bug_thread.freezed.dart index 6b3e0a548..1932cdea2 100644 --- a/lib/features/bug_tracker/domain/bug_thread.freezed.dart +++ b/lib/features/bug_tracker/domain/bug_thread.freezed.dart @@ -33,16 +33,21 @@ $BugMessageCopyWith get copyWith => _$BugMessageCopyWithImpl Object.hash(runtimeType,id,author,authorName,authorAvatar,body,time); +int get hashCode { + final _this = this as BugMessage; + return Object.hash(runtimeType,_this.id,_this.author,_this.authorName,_this.authorAvatar,_this.body,_this.time); +} @override String toString() { - return 'BugMessage(id: $id, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, body: $body, time: $time)'; + final _this = this as BugMessage; + return 'BugMessage(id: ${_this.id}, author: ${_this.author}, authorName: ${_this.authorName}, authorAvatar: ${_this.authorAvatar}, body: ${_this.body}, time: ${_this.time})'; } @@ -246,16 +251,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugMessage&&(identical(other.id, id) || other.id == id)&&(identical(other.author, author) || other.author == author)&&(identical(other.authorName, authorName) || other.authorName == authorName)&&(identical(other.authorAvatar, authorAvatar) || other.authorAvatar == authorAvatar)&&(identical(other.body, body) || other.body == body)&&(identical(other.time, time) || other.time == time)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugMessage&&(identical(other.id, id) || other.id == id)&&(identical(other.author, author) || other.author == author)&&(identical(other.authorName, authorName) || other.authorName == authorName)&&(identical(other.authorAvatar, authorAvatar) || other.authorAvatar == authorAvatar)&&(identical(other.body, body) || other.body == body)&&(identical(other.time, time) || other.time == time)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,author,authorName,authorAvatar,body,time); +int get hashCode { + return Object.hash(runtimeType,id,author,authorName,authorAvatar,body,time); +} @override String toString() { - return 'BugMessage(id: $id, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, body: $body, time: $time)'; + return 'BugMessage(id: $id, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, body: $body, time: $time)'; } @@ -315,16 +322,21 @@ $BugThreadCopyWith get copyWith => _$BugThreadCopyWithImpl @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is BugThread&&(identical(other.id, id) || other.id == id)&&(identical(other.title, title) || other.title == title)&&const DeepCollectionEquality().equals(other.tags, tags)&&(identical(other.body, body) || other.body == body)&&(identical(other.author, author) || other.author == author)&&(identical(other.authorName, authorName) || other.authorName == authorName)&&(identical(other.authorAvatar, authorAvatar) || other.authorAvatar == authorAvatar)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.messageCount, messageCount) || other.messageCount == messageCount)&&(identical(other.archived, archived) || other.archived == archived)&&(identical(other.locked, locked) || other.locked == locked)&&(identical(other.lastMessageId, lastMessageId) || other.lastMessageId == lastMessageId)); + final _this = this as BugThread; + return identical(this, other) || (other.runtimeType == runtimeType&&other is BugThread&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.title, _this.title) || other.title == _this.title)&&const DeepCollectionEquality().equals(other.tags, _this.tags)&&(identical(other.body, _this.body) || other.body == _this.body)&&(identical(other.author, _this.author) || other.author == _this.author)&&(identical(other.authorName, _this.authorName) || other.authorName == _this.authorName)&&(identical(other.authorAvatar, _this.authorAvatar) || other.authorAvatar == _this.authorAvatar)&&(identical(other.createdAt, _this.createdAt) || other.createdAt == _this.createdAt)&&(identical(other.messageCount, _this.messageCount) || other.messageCount == _this.messageCount)&&(identical(other.archived, _this.archived) || other.archived == _this.archived)&&(identical(other.locked, _this.locked) || other.locked == _this.locked)&&(identical(other.lastMessageId, _this.lastMessageId) || other.lastMessageId == _this.lastMessageId)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,title,const DeepCollectionEquality().hash(tags),body,author,authorName,authorAvatar,createdAt,messageCount,archived,locked,lastMessageId); +int get hashCode { + final _this = this as BugThread; + return Object.hash(runtimeType,_this.id,_this.title,const DeepCollectionEquality().hash(_this.tags),_this.body,_this.author,_this.authorName,_this.authorAvatar,_this.createdAt,_this.messageCount,_this.archived,_this.locked,_this.lastMessageId); +} @override String toString() { - return 'BugThread(id: $id, title: $title, tags: $tags, body: $body, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, createdAt: $createdAt, messageCount: $messageCount, archived: $archived, locked: $locked, lastMessageId: $lastMessageId)'; + final _this = this as BugThread; + return 'BugThread(id: ${_this.id}, title: ${_this.title}, tags: ${_this.tags}, body: ${_this.body}, author: ${_this.author}, authorName: ${_this.authorName}, authorAvatar: ${_this.authorAvatar}, createdAt: ${_this.createdAt}, messageCount: ${_this.messageCount}, archived: ${_this.archived}, locked: ${_this.locked}, lastMessageId: ${_this.lastMessageId})'; } @@ -542,16 +554,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugThread&&(identical(other.id, id) || other.id == id)&&(identical(other.title, title) || other.title == title)&&const DeepCollectionEquality().equals(other._tags, _tags)&&(identical(other.body, body) || other.body == body)&&(identical(other.author, author) || other.author == author)&&(identical(other.authorName, authorName) || other.authorName == authorName)&&(identical(other.authorAvatar, authorAvatar) || other.authorAvatar == authorAvatar)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.messageCount, messageCount) || other.messageCount == messageCount)&&(identical(other.archived, archived) || other.archived == archived)&&(identical(other.locked, locked) || other.locked == locked)&&(identical(other.lastMessageId, lastMessageId) || other.lastMessageId == lastMessageId)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugThread&&(identical(other.id, id) || other.id == id)&&(identical(other.title, title) || other.title == title)&&const DeepCollectionEquality().equals(other.tags, _tags)&&(identical(other.body, body) || other.body == body)&&(identical(other.author, author) || other.author == author)&&(identical(other.authorName, authorName) || other.authorName == authorName)&&(identical(other.authorAvatar, authorAvatar) || other.authorAvatar == authorAvatar)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.messageCount, messageCount) || other.messageCount == messageCount)&&(identical(other.archived, archived) || other.archived == archived)&&(identical(other.locked, locked) || other.locked == locked)&&(identical(other.lastMessageId, lastMessageId) || other.lastMessageId == lastMessageId)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,title,const DeepCollectionEquality().hash(_tags),body,author,authorName,authorAvatar,createdAt,messageCount,archived,locked,lastMessageId); +int get hashCode { + return Object.hash(runtimeType,id,title,const DeepCollectionEquality().hash(_tags),body,author,authorName,authorAvatar,createdAt,messageCount,archived,locked,lastMessageId); +} @override String toString() { - return 'BugThread(id: $id, title: $title, tags: $tags, body: $body, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, createdAt: $createdAt, messageCount: $messageCount, archived: $archived, locked: $locked, lastMessageId: $lastMessageId)'; + return 'BugThread(id: $id, title: $title, tags: $tags, body: $body, author: $author, authorName: $authorName, authorAvatar: $authorAvatar, createdAt: $createdAt, messageCount: $messageCount, archived: $archived, locked: $locked, lastMessageId: $lastMessageId)'; } @@ -614,16 +628,21 @@ $BugThreadDetailCopyWith get copyWith => _$BugThreadDetailCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is BugThreadDetail&&(identical(other.thread, thread) || other.thread == thread)&&const DeepCollectionEquality().equals(other.messages, messages)); + final _this = this as BugThreadDetail; + return identical(this, other) || (other.runtimeType == runtimeType&&other is BugThreadDetail&&(identical(other.thread, _this.thread) || other.thread == _this.thread)&&const DeepCollectionEquality().equals(other.messages, _this.messages)); } @override -int get hashCode => Object.hash(runtimeType,thread,const DeepCollectionEquality().hash(messages)); +int get hashCode { + final _this = this as BugThreadDetail; + return Object.hash(runtimeType,_this.thread,const DeepCollectionEquality().hash(_this.messages)); +} @override String toString() { - return 'BugThreadDetail(thread: $thread, messages: $messages)'; + final _this = this as BugThreadDetail; + return 'BugThreadDetail(thread: ${_this.thread}, messages: ${_this.messages})'; } @@ -827,16 +846,18 @@ _$BugThreadDetailCopyWith<_BugThreadDetail> get copyWith => __$BugThreadDetailCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugThreadDetail&&(identical(other.thread, thread) || other.thread == thread)&&const DeepCollectionEquality().equals(other._messages, _messages)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _BugThreadDetail&&(identical(other.thread, thread) || other.thread == thread)&&const DeepCollectionEquality().equals(other.messages, _messages)); } @override -int get hashCode => Object.hash(runtimeType,thread,const DeepCollectionEquality().hash(_messages)); +int get hashCode { + return Object.hash(runtimeType,thread,const DeepCollectionEquality().hash(_messages)); +} @override String toString() { - return 'BugThreadDetail(thread: $thread, messages: $messages)'; + return 'BugThreadDetail(thread: $thread, messages: $messages)'; } diff --git a/lib/features/changelog/domain/release_note.freezed.dart b/lib/features/changelog/domain/release_note.freezed.dart index af514d7e2..799719005 100644 --- a/lib/features/changelog/domain/release_note.freezed.dart +++ b/lib/features/changelog/domain/release_note.freezed.dart @@ -31,16 +31,21 @@ $ReleaseContributorCopyWith get copyWith => _$ReleaseContrib @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is ReleaseContributor&&(identical(other.login, login) || other.login == login)&&(identical(other.htmlUrl, htmlUrl) || other.htmlUrl == htmlUrl)); + final _this = this as ReleaseContributor; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ReleaseContributor&&(identical(other.login, _this.login) || other.login == _this.login)&&(identical(other.htmlUrl, _this.htmlUrl) || other.htmlUrl == _this.htmlUrl)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,login,htmlUrl); +int get hashCode { + final _this = this as ReleaseContributor; + return Object.hash(runtimeType,_this.login,_this.htmlUrl); +} @override String toString() { - return 'ReleaseContributor(login: $login, htmlUrl: $htmlUrl)'; + final _this = this as ReleaseContributor; + return 'ReleaseContributor(login: ${_this.login}, htmlUrl: ${_this.htmlUrl})'; } @@ -234,16 +239,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ReleaseContributor&&(identical(other.login, login) || other.login == login)&&(identical(other.htmlUrl, htmlUrl) || other.htmlUrl == htmlUrl)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ReleaseContributor&&(identical(other.login, login) || other.login == login)&&(identical(other.htmlUrl, htmlUrl) || other.htmlUrl == htmlUrl)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,login,htmlUrl); +int get hashCode { + return Object.hash(runtimeType,login,htmlUrl); +} @override String toString() { - return 'ReleaseContributor(login: $login, htmlUrl: $htmlUrl)'; + return 'ReleaseContributor(login: $login, htmlUrl: $htmlUrl)'; } @@ -306,16 +313,21 @@ $ReleaseNoteCopyWith get copyWith => _$ReleaseNoteCopyWithImpl Object.hash(runtimeType,tagName,name,body,prerelease,htmlUrl,publishedAt); +int get hashCode { + final _this = this as ReleaseNote; + return Object.hash(runtimeType,_this.tagName,_this.name,_this.body,_this.prerelease,_this.htmlUrl,_this.publishedAt); +} @override String toString() { - return 'ReleaseNote(tagName: $tagName, name: $name, body: $body, prerelease: $prerelease, htmlUrl: $htmlUrl, publishedAt: $publishedAt)'; + final _this = this as ReleaseNote; + return 'ReleaseNote(tagName: ${_this.tagName}, name: ${_this.name}, body: ${_this.body}, prerelease: ${_this.prerelease}, htmlUrl: ${_this.htmlUrl}, publishedAt: ${_this.publishedAt})'; } @@ -522,16 +534,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ReleaseNote&&(identical(other.tagName, tagName) || other.tagName == tagName)&&(identical(other.name, name) || other.name == name)&&(identical(other.body, body) || other.body == body)&&(identical(other.prerelease, prerelease) || other.prerelease == prerelease)&&(identical(other.htmlUrl, htmlUrl) || other.htmlUrl == htmlUrl)&&(identical(other.publishedAt, publishedAt) || other.publishedAt == publishedAt)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ReleaseNote&&(identical(other.tagName, tagName) || other.tagName == tagName)&&(identical(other.name, name) || other.name == name)&&(identical(other.body, body) || other.body == body)&&(identical(other.prerelease, prerelease) || other.prerelease == prerelease)&&(identical(other.htmlUrl, htmlUrl) || other.htmlUrl == htmlUrl)&&(identical(other.publishedAt, publishedAt) || other.publishedAt == publishedAt)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,tagName,name,body,prerelease,htmlUrl,publishedAt); +int get hashCode { + return Object.hash(runtimeType,tagName,name,body,prerelease,htmlUrl,publishedAt); +} @override String toString() { - return 'ReleaseNote(tagName: $tagName, name: $name, body: $body, prerelease: $prerelease, htmlUrl: $htmlUrl, publishedAt: $publishedAt)'; + return 'ReleaseNote(tagName: $tagName, name: $name, body: $body, prerelease: $prerelease, htmlUrl: $htmlUrl, publishedAt: $publishedAt)'; } diff --git a/lib/features/disaster_map/domain/aed_detail.freezed.dart b/lib/features/disaster_map/domain/aed_detail.freezed.dart index cf75b6c7e..6f87d7ca1 100644 --- a/lib/features/disaster_map/domain/aed_detail.freezed.dart +++ b/lib/features/disaster_map/domain/aed_detail.freezed.dart @@ -29,16 +29,21 @@ $AedDetailCopyWith get copyWith => _$AedDetailCopyWithImpl @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is AedDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.aedId, aedId) || other.aedId == aedId)&&(identical(other.name, name) || other.name == name)&&(identical(other.city, city) || other.city == city)&&(identical(other.district, district) || other.district == district)&&(identical(other.category, category) || other.category == category)&&(identical(other.type, type) || other.type == type)&&(identical(other.place, place) || other.place == place)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)&&(identical(other.description, description) || other.description == description)&&(identical(other.placeDesc, placeDesc) || other.placeDesc == placeDesc)&&(identical(other.weekdayStart, weekdayStart) || other.weekdayStart == weekdayStart)&&(identical(other.weekdayEnd, weekdayEnd) || other.weekdayEnd == weekdayEnd)&&(identical(other.saturdayStart, saturdayStart) || other.saturdayStart == saturdayStart)&&(identical(other.saturdayEnd, saturdayEnd) || other.saturdayEnd == saturdayEnd)&&(identical(other.sundayStart, sundayStart) || other.sundayStart == sundayStart)&&(identical(other.sundayEnd, sundayEnd) || other.sundayEnd == sundayEnd)&&(identical(other.openRemark, openRemark) || other.openRemark == openRemark)&&(identical(other.emergencyPhone, emergencyPhone) || other.emergencyPhone == emergencyPhone)&&(identical(other.placeId, placeId) || other.placeId == placeId)); + final _this = this as AedDetail; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AedDetail&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.aedId, _this.aedId) || other.aedId == _this.aedId)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.city, _this.city) || other.city == _this.city)&&(identical(other.district, _this.district) || other.district == _this.district)&&(identical(other.category, _this.category) || other.category == _this.category)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.place, _this.place) || other.place == _this.place)&&(identical(other.lat, _this.lat) || other.lat == _this.lat)&&(identical(other.lng, _this.lng) || other.lng == _this.lng)&&(identical(other.address, _this.address) || other.address == _this.address)&&(identical(other.description, _this.description) || other.description == _this.description)&&(identical(other.placeDesc, _this.placeDesc) || other.placeDesc == _this.placeDesc)&&(identical(other.weekdayStart, _this.weekdayStart) || other.weekdayStart == _this.weekdayStart)&&(identical(other.weekdayEnd, _this.weekdayEnd) || other.weekdayEnd == _this.weekdayEnd)&&(identical(other.saturdayStart, _this.saturdayStart) || other.saturdayStart == _this.saturdayStart)&&(identical(other.saturdayEnd, _this.saturdayEnd) || other.saturdayEnd == _this.saturdayEnd)&&(identical(other.sundayStart, _this.sundayStart) || other.sundayStart == _this.sundayStart)&&(identical(other.sundayEnd, _this.sundayEnd) || other.sundayEnd == _this.sundayEnd)&&(identical(other.openRemark, _this.openRemark) || other.openRemark == _this.openRemark)&&(identical(other.emergencyPhone, _this.emergencyPhone) || other.emergencyPhone == _this.emergencyPhone)&&(identical(other.placeId, _this.placeId) || other.placeId == _this.placeId)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hashAll([runtimeType,id,aedId,name,city,district,category,type,place,lat,lng,address,description,placeDesc,weekdayStart,weekdayEnd,saturdayStart,saturdayEnd,sundayStart,sundayEnd,openRemark,emergencyPhone,placeId]); +int get hashCode { + final _this = this as AedDetail; + return Object.hashAll([runtimeType,_this.id,_this.aedId,_this.name,_this.city,_this.district,_this.category,_this.type,_this.place,_this.lat,_this.lng,_this.address,_this.description,_this.placeDesc,_this.weekdayStart,_this.weekdayEnd,_this.saturdayStart,_this.saturdayEnd,_this.sundayStart,_this.sundayEnd,_this.openRemark,_this.emergencyPhone,_this.placeId]); +} @override String toString() { - return 'AedDetail(id: $id, aedId: $aedId, name: $name, city: $city, district: $district, category: $category, type: $type, place: $place, lat: $lat, lng: $lng, address: $address, description: $description, placeDesc: $placeDesc, weekdayStart: $weekdayStart, weekdayEnd: $weekdayEnd, saturdayStart: $saturdayStart, saturdayEnd: $saturdayEnd, sundayStart: $sundayStart, sundayEnd: $sundayEnd, openRemark: $openRemark, emergencyPhone: $emergencyPhone, placeId: $placeId)'; + final _this = this as AedDetail; + return 'AedDetail(id: ${_this.id}, aedId: ${_this.aedId}, name: ${_this.name}, city: ${_this.city}, district: ${_this.district}, category: ${_this.category}, type: ${_this.type}, place: ${_this.place}, lat: ${_this.lat}, lng: ${_this.lng}, address: ${_this.address}, description: ${_this.description}, placeDesc: ${_this.placeDesc}, weekdayStart: ${_this.weekdayStart}, weekdayEnd: ${_this.weekdayEnd}, saturdayStart: ${_this.saturdayStart}, saturdayEnd: ${_this.saturdayEnd}, sundayStart: ${_this.sundayStart}, sundayEnd: ${_this.sundayEnd}, openRemark: ${_this.openRemark}, emergencyPhone: ${_this.emergencyPhone}, placeId: ${_this.placeId})'; } @@ -270,16 +275,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _AedDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.aedId, aedId) || other.aedId == aedId)&&(identical(other.name, name) || other.name == name)&&(identical(other.city, city) || other.city == city)&&(identical(other.district, district) || other.district == district)&&(identical(other.category, category) || other.category == category)&&(identical(other.type, type) || other.type == type)&&(identical(other.place, place) || other.place == place)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)&&(identical(other.description, description) || other.description == description)&&(identical(other.placeDesc, placeDesc) || other.placeDesc == placeDesc)&&(identical(other.weekdayStart, weekdayStart) || other.weekdayStart == weekdayStart)&&(identical(other.weekdayEnd, weekdayEnd) || other.weekdayEnd == weekdayEnd)&&(identical(other.saturdayStart, saturdayStart) || other.saturdayStart == saturdayStart)&&(identical(other.saturdayEnd, saturdayEnd) || other.saturdayEnd == saturdayEnd)&&(identical(other.sundayStart, sundayStart) || other.sundayStart == sundayStart)&&(identical(other.sundayEnd, sundayEnd) || other.sundayEnd == sundayEnd)&&(identical(other.openRemark, openRemark) || other.openRemark == openRemark)&&(identical(other.emergencyPhone, emergencyPhone) || other.emergencyPhone == emergencyPhone)&&(identical(other.placeId, placeId) || other.placeId == placeId)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AedDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.aedId, aedId) || other.aedId == aedId)&&(identical(other.name, name) || other.name == name)&&(identical(other.city, city) || other.city == city)&&(identical(other.district, district) || other.district == district)&&(identical(other.category, category) || other.category == category)&&(identical(other.type, type) || other.type == type)&&(identical(other.place, place) || other.place == place)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)&&(identical(other.description, description) || other.description == description)&&(identical(other.placeDesc, placeDesc) || other.placeDesc == placeDesc)&&(identical(other.weekdayStart, weekdayStart) || other.weekdayStart == weekdayStart)&&(identical(other.weekdayEnd, weekdayEnd) || other.weekdayEnd == weekdayEnd)&&(identical(other.saturdayStart, saturdayStart) || other.saturdayStart == saturdayStart)&&(identical(other.saturdayEnd, saturdayEnd) || other.saturdayEnd == saturdayEnd)&&(identical(other.sundayStart, sundayStart) || other.sundayStart == sundayStart)&&(identical(other.sundayEnd, sundayEnd) || other.sundayEnd == sundayEnd)&&(identical(other.openRemark, openRemark) || other.openRemark == openRemark)&&(identical(other.emergencyPhone, emergencyPhone) || other.emergencyPhone == emergencyPhone)&&(identical(other.placeId, placeId) || other.placeId == placeId)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hashAll([runtimeType,id,aedId,name,city,district,category,type,place,lat,lng,address,description,placeDesc,weekdayStart,weekdayEnd,saturdayStart,saturdayEnd,sundayStart,sundayEnd,openRemark,emergencyPhone,placeId]); +int get hashCode { + return Object.hashAll([runtimeType,id,aedId,name,city,district,category,type,place,lat,lng,address,description,placeDesc,weekdayStart,weekdayEnd,saturdayStart,saturdayEnd,sundayStart,sundayEnd,openRemark,emergencyPhone,placeId]); +} @override String toString() { - return 'AedDetail(id: $id, aedId: $aedId, name: $name, city: $city, district: $district, category: $category, type: $type, place: $place, lat: $lat, lng: $lng, address: $address, description: $description, placeDesc: $placeDesc, weekdayStart: $weekdayStart, weekdayEnd: $weekdayEnd, saturdayStart: $saturdayStart, saturdayEnd: $saturdayEnd, sundayStart: $sundayStart, sundayEnd: $sundayEnd, openRemark: $openRemark, emergencyPhone: $emergencyPhone, placeId: $placeId)'; + return 'AedDetail(id: $id, aedId: $aedId, name: $name, city: $city, district: $district, category: $category, type: $type, place: $place, lat: $lat, lng: $lng, address: $address, description: $description, placeDesc: $placeDesc, weekdayStart: $weekdayStart, weekdayEnd: $weekdayEnd, saturdayStart: $saturdayStart, saturdayEnd: $saturdayEnd, sundayStart: $sundayStart, sundayEnd: $sundayEnd, openRemark: $openRemark, emergencyPhone: $emergencyPhone, placeId: $placeId)'; } diff --git a/lib/features/disaster_map/domain/restroom_detail.freezed.dart b/lib/features/disaster_map/domain/restroom_detail.freezed.dart index d4f533064..3b3edcf75 100644 --- a/lib/features/disaster_map/domain/restroom_detail.freezed.dart +++ b/lib/features/disaster_map/domain/restroom_detail.freezed.dart @@ -29,16 +29,21 @@ $RestroomDetailCopyWith get copyWith => _$RestroomDetailCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is RestroomDetail&&(identical(other.name, name) || other.name == name)&&(identical(other.address, address) || other.address == address)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.type, type) || other.type == type)&&(identical(other.type2, type2) || other.type2 == type2)&&(identical(other.typegrade, typegrade) || other.typegrade == typegrade)); + final _this = this as RestroomDetail; + return identical(this, other) || (other.runtimeType == runtimeType&&other is RestroomDetail&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.address, _this.address) || other.address == _this.address)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.type2, _this.type2) || other.type2 == _this.type2)&&(identical(other.typegrade, _this.typegrade) || other.typegrade == _this.typegrade)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,address,latitude,longitude,type,type2,typegrade); +int get hashCode { + final _this = this as RestroomDetail; + return Object.hash(runtimeType,_this.name,_this.address,_this.latitude,_this.longitude,_this.type,_this.type2,_this.typegrade); +} @override String toString() { - return 'RestroomDetail(name: $name, address: $address, latitude: $latitude, longitude: $longitude, type: $type, type2: $type2, typegrade: $typegrade)'; + final _this = this as RestroomDetail; + return 'RestroomDetail(name: ${_this.name}, address: ${_this.address}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, type: ${_this.type}, type2: ${_this.type2}, typegrade: ${_this.typegrade})'; } @@ -240,16 +245,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _RestroomDetail&&(identical(other.name, name) || other.name == name)&&(identical(other.address, address) || other.address == address)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.type, type) || other.type == type)&&(identical(other.type2, type2) || other.type2 == type2)&&(identical(other.typegrade, typegrade) || other.typegrade == typegrade)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _RestroomDetail&&(identical(other.name, name) || other.name == name)&&(identical(other.address, address) || other.address == address)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.type, type) || other.type == type)&&(identical(other.type2, type2) || other.type2 == type2)&&(identical(other.typegrade, typegrade) || other.typegrade == typegrade)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,address,latitude,longitude,type,type2,typegrade); +int get hashCode { + return Object.hash(runtimeType,name,address,latitude,longitude,type,type2,typegrade); +} @override String toString() { - return 'RestroomDetail(name: $name, address: $address, latitude: $latitude, longitude: $longitude, type: $type, type2: $type2, typegrade: $typegrade)'; + return 'RestroomDetail(name: $name, address: $address, latitude: $latitude, longitude: $longitude, type: $type, type2: $type2, typegrade: $typegrade)'; } diff --git a/lib/features/disaster_map/domain/shelter_detail.freezed.dart b/lib/features/disaster_map/domain/shelter_detail.freezed.dart index e5be96677..6b0baf04f 100644 --- a/lib/features/disaster_map/domain/shelter_detail.freezed.dart +++ b/lib/features/disaster_map/domain/shelter_detail.freezed.dart @@ -29,16 +29,21 @@ $ShelterDetailCopyWith get copyWith => _$ShelterDetailCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is ShelterDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.capacity, capacity) || other.capacity == capacity)&&const DeepCollectionEquality().equals(other.category, category)&&(identical(other.indoor, indoor) || other.indoor == indoor)&&(identical(other.outdoor, outdoor) || other.outdoor == outdoor)&&(identical(other.vulnerableOk, vulnerableOk) || other.vulnerableOk == vulnerableOk)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)); + final _this = this as ShelterDetail; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ShelterDetail&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.capacity, _this.capacity) || other.capacity == _this.capacity)&&const DeepCollectionEquality().equals(other.category, _this.category)&&(identical(other.indoor, _this.indoor) || other.indoor == _this.indoor)&&(identical(other.outdoor, _this.outdoor) || other.outdoor == _this.outdoor)&&(identical(other.vulnerableOk, _this.vulnerableOk) || other.vulnerableOk == _this.vulnerableOk)&&(identical(other.lat, _this.lat) || other.lat == _this.lat)&&(identical(other.lng, _this.lng) || other.lng == _this.lng)&&(identical(other.address, _this.address) || other.address == _this.address)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,name,capacity,const DeepCollectionEquality().hash(category),indoor,outdoor,vulnerableOk,lat,lng,address); +int get hashCode { + final _this = this as ShelterDetail; + return Object.hash(runtimeType,_this.id,_this.name,_this.capacity,const DeepCollectionEquality().hash(_this.category),_this.indoor,_this.outdoor,_this.vulnerableOk,_this.lat,_this.lng,_this.address); +} @override String toString() { - return 'ShelterDetail(id: $id, name: $name, capacity: $capacity, category: $category, indoor: $indoor, outdoor: $outdoor, vulnerableOk: $vulnerableOk, lat: $lat, lng: $lng, address: $address)'; + final _this = this as ShelterDetail; + return 'ShelterDetail(id: ${_this.id}, name: ${_this.name}, capacity: ${_this.capacity}, category: ${_this.category}, indoor: ${_this.indoor}, outdoor: ${_this.outdoor}, vulnerableOk: ${_this.vulnerableOk}, lat: ${_this.lat}, lng: ${_this.lng}, address: ${_this.address})'; } @@ -252,16 +257,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ShelterDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.capacity, capacity) || other.capacity == capacity)&&const DeepCollectionEquality().equals(other._category, _category)&&(identical(other.indoor, indoor) || other.indoor == indoor)&&(identical(other.outdoor, outdoor) || other.outdoor == outdoor)&&(identical(other.vulnerableOk, vulnerableOk) || other.vulnerableOk == vulnerableOk)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ShelterDetail&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.capacity, capacity) || other.capacity == capacity)&&const DeepCollectionEquality().equals(other.category, _category)&&(identical(other.indoor, indoor) || other.indoor == indoor)&&(identical(other.outdoor, outdoor) || other.outdoor == outdoor)&&(identical(other.vulnerableOk, vulnerableOk) || other.vulnerableOk == vulnerableOk)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.lng, lng) || other.lng == lng)&&(identical(other.address, address) || other.address == address)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,name,capacity,const DeepCollectionEquality().hash(_category),indoor,outdoor,vulnerableOk,lat,lng,address); +int get hashCode { + return Object.hash(runtimeType,id,name,capacity,const DeepCollectionEquality().hash(_category),indoor,outdoor,vulnerableOk,lat,lng,address); +} @override String toString() { - return 'ShelterDetail(id: $id, name: $name, capacity: $capacity, category: $category, indoor: $indoor, outdoor: $outdoor, vulnerableOk: $vulnerableOk, lat: $lat, lng: $lng, address: $address)'; + return 'ShelterDetail(id: $id, name: $name, capacity: $capacity, category: $category, indoor: $indoor, outdoor: $outdoor, vulnerableOk: $vulnerableOk, lat: $lat, lng: $lng, address: $address)'; } diff --git a/lib/features/earthquake/domain/earthquake_report.freezed.dart b/lib/features/earthquake/domain/earthquake_report.freezed.dart index c8eab757b..1b9d93cb2 100644 --- a/lib/features/earthquake/domain/earthquake_report.freezed.dart +++ b/lib/features/earthquake/domain/earthquake_report.freezed.dart @@ -30,16 +30,21 @@ $EarthquakeReportCopyWith get copyWith => _$EarthquakeReportCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is EarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&const DeepCollectionEquality().equals(other.list, list)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)); + final _this = this as EarthquakeReport; + return identical(this, other) || (other.runtimeType == runtimeType&&other is EarthquakeReport&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.location, _this.location) || other.location == _this.location)&&(identical(other.depth, _this.depth) || other.depth == _this.depth)&&(identical(other.magnitude, _this.magnitude) || other.magnitude == _this.magnitude)&&const DeepCollectionEquality().equals(other.list, _this.list)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.trem, _this.trem) || other.trem == _this.trem)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,const DeepCollectionEquality().hash(list),time,trem); +int get hashCode { + final _this = this as EarthquakeReport; + return Object.hash(runtimeType,_this.id,_this.longitude,_this.latitude,_this.location,_this.depth,_this.magnitude,const DeepCollectionEquality().hash(_this.list),_this.time,_this.trem); +} @override String toString() { - return 'EarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, list: $list, time: $time, trem: $trem)'; + final _this = this as EarthquakeReport; + return 'EarthquakeReport(id: ${_this.id}, longitude: ${_this.longitude}, latitude: ${_this.latitude}, location: ${_this.location}, depth: ${_this.depth}, magnitude: ${_this.magnitude}, list: ${_this.list}, time: ${_this.time}, trem: ${_this.trem})'; } @@ -252,16 +257,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _EarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&const DeepCollectionEquality().equals(other._list, _list)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _EarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&const DeepCollectionEquality().equals(other.list, _list)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,const DeepCollectionEquality().hash(_list),time,trem); +int get hashCode { + return Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,const DeepCollectionEquality().hash(_list),time,trem); +} @override String toString() { - return 'EarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, list: $list, time: $time, trem: $trem)'; + return 'EarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, list: $list, time: $time, trem: $trem)'; } @@ -324,16 +331,21 @@ $AreaIntensityCopyWith get copyWith => _$AreaIntensityCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is AreaIntensity&&(identical(other.intensity, intensity) || other.intensity == intensity)&&const DeepCollectionEquality().equals(other.town, town)); + final _this = this as AreaIntensity; + return identical(this, other) || (other.runtimeType == runtimeType&&other is AreaIntensity&&(identical(other.intensity, _this.intensity) || other.intensity == _this.intensity)&&const DeepCollectionEquality().equals(other.town, _this.town)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,intensity,const DeepCollectionEquality().hash(town)); +int get hashCode { + final _this = this as AreaIntensity; + return Object.hash(runtimeType,_this.intensity,const DeepCollectionEquality().hash(_this.town)); +} @override String toString() { - return 'AreaIntensity(intensity: $intensity, town: $town)'; + final _this = this as AreaIntensity; + return 'AreaIntensity(intensity: ${_this.intensity}, town: ${_this.town})'; } @@ -531,16 +543,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _AreaIntensity&&(identical(other.intensity, intensity) || other.intensity == intensity)&&const DeepCollectionEquality().equals(other._town, _town)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AreaIntensity&&(identical(other.intensity, intensity) || other.intensity == intensity)&&const DeepCollectionEquality().equals(other.town, _town)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,intensity,const DeepCollectionEquality().hash(_town)); +int get hashCode { + return Object.hash(runtimeType,intensity,const DeepCollectionEquality().hash(_town)); +} @override String toString() { - return 'AreaIntensity(intensity: $intensity, town: $town)'; + return 'AreaIntensity(intensity: $intensity, town: $town)'; } @@ -596,16 +610,21 @@ $StationIntensityCopyWith get copyWith => _$StationIntensityCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is StationIntensity&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)); + final _this = this as StationIntensity; + return identical(this, other) || (other.runtimeType == runtimeType&&other is StationIntensity&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.intensity, _this.intensity) || other.intensity == _this.intensity)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,longitude,latitude,intensity); +int get hashCode { + final _this = this as StationIntensity; + return Object.hash(runtimeType,_this.longitude,_this.latitude,_this.intensity); +} @override String toString() { - return 'StationIntensity(longitude: $longitude, latitude: $latitude, intensity: $intensity)'; + final _this = this as StationIntensity; + return 'StationIntensity(longitude: ${_this.longitude}, latitude: ${_this.latitude}, intensity: ${_this.intensity})'; } @@ -799,16 +818,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _StationIntensity&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _StationIntensity&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,longitude,latitude,intensity); +int get hashCode { + return Object.hash(runtimeType,longitude,latitude,intensity); +} @override String toString() { - return 'StationIntensity(longitude: $longitude, latitude: $latitude, intensity: $intensity)'; + return 'StationIntensity(longitude: $longitude, latitude: $latitude, intensity: $intensity)'; } diff --git a/lib/features/earthquake/domain/eew.freezed.dart b/lib/features/earthquake/domain/eew.freezed.dart index aec509b10..676a2ef8e 100644 --- a/lib/features/earthquake/domain/eew.freezed.dart +++ b/lib/features/earthquake/domain/eew.freezed.dart @@ -32,16 +32,21 @@ $EewCopyWith get copyWith => _$EewCopyWithImpl(this as Eew, _$identity @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is Eew&&(identical(other.agency, agency) || other.agency == agency)&&(identical(other.id, id) || other.id == id)&&(identical(other.serial, serial) || other.serial == serial)&&(identical(other.status, status) || other.status == status)&&(identical(other.isFinal, isFinal) || other.isFinal == isFinal)&&(identical(other.info, info) || other.info == info)&&(identical(other.reportTime, reportTime) || other.reportTime == reportTime)); + final _this = this as Eew; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Eew&&(identical(other.agency, _this.agency) || other.agency == _this.agency)&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.serial, _this.serial) || other.serial == _this.serial)&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.isFinal, _this.isFinal) || other.isFinal == _this.isFinal)&&(identical(other.info, _this.info) || other.info == _this.info)&&(identical(other.reportTime, _this.reportTime) || other.reportTime == _this.reportTime)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,agency,id,serial,status,isFinal,info,reportTime); +int get hashCode { + final _this = this as Eew; + return Object.hash(runtimeType,_this.agency,_this.id,_this.serial,_this.status,_this.isFinal,_this.info,_this.reportTime); +} @override String toString() { - return 'Eew(agency: $agency, id: $id, serial: $serial, status: $status, isFinal: $isFinal, info: $info, reportTime: $reportTime)'; + final _this = this as Eew; + return 'Eew(agency: ${_this.agency}, id: ${_this.id}, serial: ${_this.serial}, status: ${_this.status}, isFinal: ${_this.isFinal}, info: ${_this.info}, reportTime: ${_this.reportTime})'; } @@ -255,16 +260,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _Eew&&(identical(other.agency, agency) || other.agency == agency)&&(identical(other.id, id) || other.id == id)&&(identical(other.serial, serial) || other.serial == serial)&&(identical(other.status, status) || other.status == status)&&(identical(other.isFinal, isFinal) || other.isFinal == isFinal)&&(identical(other.info, info) || other.info == info)&&(identical(other.reportTime, reportTime) || other.reportTime == reportTime)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Eew&&(identical(other.agency, agency) || other.agency == agency)&&(identical(other.id, id) || other.id == id)&&(identical(other.serial, serial) || other.serial == serial)&&(identical(other.status, status) || other.status == status)&&(identical(other.isFinal, isFinal) || other.isFinal == isFinal)&&(identical(other.info, info) || other.info == info)&&(identical(other.reportTime, reportTime) || other.reportTime == reportTime)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,agency,id,serial,status,isFinal,info,reportTime); +int get hashCode { + return Object.hash(runtimeType,agency,id,serial,status,isFinal,info,reportTime); +} @override String toString() { - return 'Eew(agency: $agency, id: $id, serial: $serial, status: $status, isFinal: $isFinal, info: $info, reportTime: $reportTime)'; + return 'Eew(agency: $agency, id: $id, serial: $serial, status: $status, isFinal: $isFinal, info: $info, reportTime: $reportTime)'; } @@ -334,16 +341,21 @@ $EewInfoCopyWith get copyWith => _$EewInfoCopyWithImpl(this as @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is EewInfo&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.max, max) || other.max == max)); + final _this = this as EewInfo; + return identical(this, other) || (other.runtimeType == runtimeType&&other is EewInfo&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.depth, _this.depth) || other.depth == _this.depth)&&(identical(other.magnitude, _this.magnitude) || other.magnitude == _this.magnitude)&&(identical(other.location, _this.location) || other.location == _this.location)&&(identical(other.max, _this.max) || other.max == _this.max)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,longitude,latitude,depth,magnitude,location,max); +int get hashCode { + final _this = this as EewInfo; + return Object.hash(runtimeType,_this.time,_this.longitude,_this.latitude,_this.depth,_this.magnitude,_this.location,_this.max); +} @override String toString() { - return 'EewInfo(time: $time, longitude: $longitude, latitude: $latitude, depth: $depth, magnitude: $magnitude, location: $location, max: $max)'; + final _this = this as EewInfo; + return 'EewInfo(time: ${_this.time}, longitude: ${_this.longitude}, latitude: ${_this.latitude}, depth: ${_this.depth}, magnitude: ${_this.magnitude}, location: ${_this.location}, max: ${_this.max})'; } @@ -545,16 +557,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _EewInfo&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.max, max) || other.max == max)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _EewInfo&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.max, max) || other.max == max)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,longitude,latitude,depth,magnitude,location,max); +int get hashCode { + return Object.hash(runtimeType,time,longitude,latitude,depth,magnitude,location,max); +} @override String toString() { - return 'EewInfo(time: $time, longitude: $longitude, latitude: $latitude, depth: $depth, magnitude: $magnitude, location: $location, max: $max)'; + return 'EewInfo(time: $time, longitude: $longitude, latitude: $latitude, depth: $depth, magnitude: $magnitude, location: $location, max: $max)'; } diff --git a/lib/features/earthquake/domain/partial_earthquake_report.freezed.dart b/lib/features/earthquake/domain/partial_earthquake_report.freezed.dart index 0883912d4..36898078c 100644 --- a/lib/features/earthquake/domain/partial_earthquake_report.freezed.dart +++ b/lib/features/earthquake/domain/partial_earthquake_report.freezed.dart @@ -30,16 +30,21 @@ $PartialEarthquakeReportCopyWith get copyWith => _$Part @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is PartialEarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)&&(identical(other.md5, md5) || other.md5 == md5)); + final _this = this as PartialEarthquakeReport; + return identical(this, other) || (other.runtimeType == runtimeType&&other is PartialEarthquakeReport&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.location, _this.location) || other.location == _this.location)&&(identical(other.depth, _this.depth) || other.depth == _this.depth)&&(identical(other.magnitude, _this.magnitude) || other.magnitude == _this.magnitude)&&(identical(other.intensity, _this.intensity) || other.intensity == _this.intensity)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.trem, _this.trem) || other.trem == _this.trem)&&(identical(other.md5, _this.md5) || other.md5 == _this.md5)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,intensity,time,trem,md5); +int get hashCode { + final _this = this as PartialEarthquakeReport; + return Object.hash(runtimeType,_this.id,_this.longitude,_this.latitude,_this.location,_this.depth,_this.magnitude,_this.intensity,_this.time,_this.trem,_this.md5); +} @override String toString() { - return 'PartialEarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, intensity: $intensity, time: $time, trem: $trem, md5: $md5)'; + final _this = this as PartialEarthquakeReport; + return 'PartialEarthquakeReport(id: ${_this.id}, longitude: ${_this.longitude}, latitude: ${_this.latitude}, location: ${_this.location}, depth: ${_this.depth}, magnitude: ${_this.magnitude}, intensity: ${_this.intensity}, time: ${_this.time}, trem: ${_this.trem}, md5: ${_this.md5})'; } @@ -248,16 +253,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _PartialEarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)&&(identical(other.md5, md5) || other.md5 == md5)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _PartialEarthquakeReport&&(identical(other.id, id) || other.id == id)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)&&(identical(other.intensity, intensity) || other.intensity == intensity)&&(identical(other.time, time) || other.time == time)&&(identical(other.trem, trem) || other.trem == trem)&&(identical(other.md5, md5) || other.md5 == md5)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,intensity,time,trem,md5); +int get hashCode { + return Object.hash(runtimeType,id,longitude,latitude,location,depth,magnitude,intensity,time,trem,md5); +} @override String toString() { - return 'PartialEarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, intensity: $intensity, time: $time, trem: $trem, md5: $md5)'; + return 'PartialEarthquakeReport(id: $id, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude, intensity: $intensity, time: $time, trem: $trem, md5: $md5)'; } diff --git a/lib/features/earthquake/domain/rts.freezed.dart b/lib/features/earthquake/domain/rts.freezed.dart index bdd5d1a6e..4a93e3af6 100644 --- a/lib/features/earthquake/domain/rts.freezed.dart +++ b/lib/features/earthquake/domain/rts.freezed.dart @@ -29,16 +29,21 @@ $RtsCopyWith get copyWith => _$RtsCopyWithImpl(this as Rts, _$identity @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is Rts&&const DeepCollectionEquality().equals(other.stations, stations)&&(identical(other.time, time) || other.time == time)); + final _this = this as Rts; + return identical(this, other) || (other.runtimeType == runtimeType&&other is Rts&&const DeepCollectionEquality().equals(other.stations, _this.stations)&&(identical(other.time, _this.time) || other.time == _this.time)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(stations),time); +int get hashCode { + final _this = this as Rts; + return Object.hash(runtimeType,const DeepCollectionEquality().hash(_this.stations),_this.time); +} @override String toString() { - return 'Rts(stations: $stations, time: $time)'; + final _this = this as Rts; + return 'Rts(stations: ${_this.stations}, time: ${_this.time})'; } @@ -236,16 +241,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _Rts&&const DeepCollectionEquality().equals(other._stations, _stations)&&(identical(other.time, time) || other.time == time)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _Rts&&const DeepCollectionEquality().equals(other.stations, _stations)&&(identical(other.time, time) || other.time == time)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(_stations),time); +int get hashCode { + return Object.hash(runtimeType,const DeepCollectionEquality().hash(_stations),time); +} @override String toString() { - return 'Rts(stations: $stations, time: $time)'; + return 'Rts(stations: $stations, time: $time)'; } @@ -301,16 +308,21 @@ $RtsStationCopyWith get copyWith => _$RtsStationCopyWithImpl Object.hash(runtimeType,intensity,pga,alert); +int get hashCode { + final _this = this as RtsStation; + return Object.hash(runtimeType,_this.intensity,_this.pga,_this.alert); +} @override String toString() { - return 'RtsStation(intensity: $intensity, pga: $pga, alert: $alert)'; + final _this = this as RtsStation; + return 'RtsStation(intensity: ${_this.intensity}, pga: ${_this.pga}, alert: ${_this.alert})'; } @@ -504,16 +516,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _RtsStation&&(identical(other.intensity, intensity) || other.intensity == intensity)&&(identical(other.pga, pga) || other.pga == pga)&&(identical(other.alert, alert) || other.alert == alert)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _RtsStation&&(identical(other.intensity, intensity) || other.intensity == intensity)&&(identical(other.pga, pga) || other.pga == pga)&&(identical(other.alert, alert) || other.alert == alert)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,intensity,pga,alert); +int get hashCode { + return Object.hash(runtimeType,intensity,pga,alert); +} @override String toString() { - return 'RtsStation(intensity: $intensity, pga: $pga, alert: $alert)'; + return 'RtsStation(intensity: $intensity, pga: $pga, alert: $alert)'; } diff --git a/lib/features/tsunami/domain/tsunami_report.freezed.dart b/lib/features/tsunami/domain/tsunami_report.freezed.dart index 40d5bdb93..0f3eb232e 100644 --- a/lib/features/tsunami/domain/tsunami_report.freezed.dart +++ b/lib/features/tsunami/domain/tsunami_report.freezed.dart @@ -32,16 +32,21 @@ $TsunamiEarthquakeCopyWith get copyWith => _$TsunamiEarthquak @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiEarthquake&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)); + final _this = this as TsunamiEarthquake; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiEarthquake&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.location, _this.location) || other.location == _this.location)&&(identical(other.depth, _this.depth) || other.depth == _this.depth)&&(identical(other.magnitude, _this.magnitude) || other.magnitude == _this.magnitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,longitude,latitude,location,depth,magnitude); +int get hashCode { + final _this = this as TsunamiEarthquake; + return Object.hash(runtimeType,_this.time,_this.longitude,_this.latitude,_this.location,_this.depth,_this.magnitude); +} @override String toString() { - return 'TsunamiEarthquake(time: $time, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude)'; + final _this = this as TsunamiEarthquake; + return 'TsunamiEarthquake(time: ${_this.time}, longitude: ${_this.longitude}, latitude: ${_this.latitude}, location: ${_this.location}, depth: ${_this.depth}, magnitude: ${_this.magnitude})'; } @@ -244,16 +249,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiEarthquake&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiEarthquake&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.location, location) || other.location == location)&&(identical(other.depth, depth) || other.depth == depth)&&(identical(other.magnitude, magnitude) || other.magnitude == magnitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,longitude,latitude,location,depth,magnitude); +int get hashCode { + return Object.hash(runtimeType,time,longitude,latitude,location,depth,magnitude); +} @override String toString() { - return 'TsunamiEarthquake(time: $time, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude)'; + return 'TsunamiEarthquake(time: $time, longitude: $longitude, latitude: $latitude, location: $location, depth: $depth, magnitude: $magnitude)'; } @@ -315,16 +322,21 @@ $TsunamiPredictionCopyWith get copyWith => _$TsunamiPredictio @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiPrediction&&(identical(other.area, area) || other.area == area)&&(identical(other.coast, coast) || other.coast == coast)&&(identical(other.height, height) || other.height == height)&&(identical(other.arrivalTime, arrivalTime) || other.arrivalTime == arrivalTime)&&(identical(other.color, color) || other.color == color)); + final _this = this as TsunamiPrediction; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiPrediction&&(identical(other.area, _this.area) || other.area == _this.area)&&(identical(other.coast, _this.coast) || other.coast == _this.coast)&&(identical(other.height, _this.height) || other.height == _this.height)&&(identical(other.arrivalTime, _this.arrivalTime) || other.arrivalTime == _this.arrivalTime)&&(identical(other.color, _this.color) || other.color == _this.color)); } @override -int get hashCode => Object.hash(runtimeType,area,coast,height,arrivalTime,color); +int get hashCode { + final _this = this as TsunamiPrediction; + return Object.hash(runtimeType,_this.area,_this.coast,_this.height,_this.arrivalTime,_this.color); +} @override String toString() { - return 'TsunamiPrediction(area: $area, coast: $coast, height: $height, arrivalTime: $arrivalTime, color: $color)'; + final _this = this as TsunamiPrediction; + return 'TsunamiPrediction(area: ${_this.area}, coast: ${_this.coast}, height: ${_this.height}, arrivalTime: ${_this.arrivalTime}, color: ${_this.color})'; } @@ -524,16 +536,18 @@ _$TsunamiPredictionCopyWith<_TsunamiPrediction> get copyWith => __$TsunamiPredic @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiPrediction&&(identical(other.area, area) || other.area == area)&&(identical(other.coast, coast) || other.coast == coast)&&(identical(other.height, height) || other.height == height)&&(identical(other.arrivalTime, arrivalTime) || other.arrivalTime == arrivalTime)&&(identical(other.color, color) || other.color == color)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiPrediction&&(identical(other.area, area) || other.area == area)&&(identical(other.coast, coast) || other.coast == coast)&&(identical(other.height, height) || other.height == height)&&(identical(other.arrivalTime, arrivalTime) || other.arrivalTime == arrivalTime)&&(identical(other.color, color) || other.color == color)); } @override -int get hashCode => Object.hash(runtimeType,area,coast,height,arrivalTime,color); +int get hashCode { + return Object.hash(runtimeType,area,coast,height,arrivalTime,color); +} @override String toString() { - return 'TsunamiPrediction(area: $area, coast: $coast, height: $height, arrivalTime: $arrivalTime, color: $color)'; + return 'TsunamiPrediction(area: $area, coast: $coast, height: $height, arrivalTime: $arrivalTime, color: $color)'; } @@ -591,16 +605,21 @@ $TsunamiObservationCopyWith get copyWith => _$TsunamiObserva @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiObservation&&(identical(other.name, name) || other.name == name)&&(identical(other.height, height) || other.height == height)&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)); + final _this = this as TsunamiObservation; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiObservation&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.height, _this.height) || other.height == _this.height)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)); } @override -int get hashCode => Object.hash(runtimeType,name,height,time,longitude,latitude); +int get hashCode { + final _this = this as TsunamiObservation; + return Object.hash(runtimeType,_this.name,_this.height,_this.time,_this.longitude,_this.latitude); +} @override String toString() { - return 'TsunamiObservation(name: $name, height: $height, time: $time, longitude: $longitude, latitude: $latitude)'; + final _this = this as TsunamiObservation; + return 'TsunamiObservation(name: ${_this.name}, height: ${_this.height}, time: ${_this.time}, longitude: ${_this.longitude}, latitude: ${_this.latitude})'; } @@ -797,16 +816,18 @@ _$TsunamiObservationCopyWith<_TsunamiObservation> get copyWith => __$TsunamiObse @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiObservation&&(identical(other.name, name) || other.name == name)&&(identical(other.height, height) || other.height == height)&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiObservation&&(identical(other.name, name) || other.name == name)&&(identical(other.height, height) || other.height == height)&&(identical(other.time, time) || other.time == time)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)); } @override -int get hashCode => Object.hash(runtimeType,name,height,time,longitude,latitude); +int get hashCode { + return Object.hash(runtimeType,name,height,time,longitude,latitude); +} @override String toString() { - return 'TsunamiObservation(name: $name, height: $height, time: $time, longitude: $longitude, latitude: $latitude)'; + return 'TsunamiObservation(name: $name, height: $height, time: $time, longitude: $longitude, latitude: $latitude)'; } @@ -870,16 +891,21 @@ $TsunamiBulletinCopyWith get copyWith => _$TsunamiBulletinCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiBulletin&&(identical(other.id, id) || other.id == id)&&(identical(other.number, number) || other.number == number)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.sent, sent) || other.sent == sent)); + final _this = this as TsunamiBulletin; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiBulletin&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.number, _this.number) || other.number == _this.number)&&(identical(other.report, _this.report) || other.report == _this.report)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.sent, _this.sent) || other.sent == _this.sent)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,number,report,type,sent); +int get hashCode { + final _this = this as TsunamiBulletin; + return Object.hash(runtimeType,_this.id,_this.number,_this.report,_this.type,_this.sent); +} @override String toString() { - return 'TsunamiBulletin(id: $id, number: $number, report: $report, type: $type, sent: $sent)'; + final _this = this as TsunamiBulletin; + return 'TsunamiBulletin(id: ${_this.id}, number: ${_this.number}, report: ${_this.report}, type: ${_this.type}, sent: ${_this.sent})'; } @@ -1082,16 +1108,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiBulletin&&(identical(other.id, id) || other.id == id)&&(identical(other.number, number) || other.number == number)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.sent, sent) || other.sent == sent)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiBulletin&&(identical(other.id, id) || other.id == id)&&(identical(other.number, number) || other.number == number)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.sent, sent) || other.sent == sent)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,number,report,type,sent); +int get hashCode { + return Object.hash(runtimeType,id,number,report,type,sent); +} @override String toString() { - return 'TsunamiBulletin(id: $id, number: $number, report: $report, type: $type, sent: $sent)'; + return 'TsunamiBulletin(id: $id, number: $number, report: $report, type: $type, sent: $sent)'; } @@ -1153,16 +1181,21 @@ $TsunamiReportCopyWith get copyWith => _$TsunamiReportCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiReport&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.content, content) || other.content == content)&&(identical(other.earthquake, earthquake) || other.earthquake == earthquake)&&const DeepCollectionEquality().equals(other.predictions, predictions)&&const DeepCollectionEquality().equals(other.observations, observations)); + final _this = this as TsunamiReport; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TsunamiReport&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.sent, _this.sent) || other.sent == _this.sent)&&(identical(other.msgType, _this.msgType) || other.msgType == _this.msgType)&&(identical(other.report, _this.report) || other.report == _this.report)&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.content, _this.content) || other.content == _this.content)&&(identical(other.earthquake, _this.earthquake) || other.earthquake == _this.earthquake)&&const DeepCollectionEquality().equals(other.predictions, _this.predictions)&&const DeepCollectionEquality().equals(other.observations, _this.observations)); } @override -int get hashCode => Object.hash(runtimeType,id,sent,msgType,report,type,content,earthquake,const DeepCollectionEquality().hash(predictions),const DeepCollectionEquality().hash(observations)); +int get hashCode { + final _this = this as TsunamiReport; + return Object.hash(runtimeType,_this.id,_this.sent,_this.msgType,_this.report,_this.type,_this.content,_this.earthquake,const DeepCollectionEquality().hash(_this.predictions),const DeepCollectionEquality().hash(_this.observations)); +} @override String toString() { - return 'TsunamiReport(id: $id, sent: $sent, msgType: $msgType, report: $report, type: $type, content: $content, earthquake: $earthquake, predictions: $predictions, observations: $observations)'; + final _this = this as TsunamiReport; + return 'TsunamiReport(id: ${_this.id}, sent: ${_this.sent}, msgType: ${_this.msgType}, report: ${_this.report}, type: ${_this.type}, content: ${_this.content}, earthquake: ${_this.earthquake}, predictions: ${_this.predictions}, observations: ${_this.observations})'; } @@ -1392,16 +1425,18 @@ _$TsunamiReportCopyWith<_TsunamiReport> get copyWith => __$TsunamiReportCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiReport&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.content, content) || other.content == content)&&(identical(other.earthquake, earthquake) || other.earthquake == earthquake)&&const DeepCollectionEquality().equals(other._predictions, _predictions)&&const DeepCollectionEquality().equals(other._observations, _observations)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TsunamiReport&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.report, report) || other.report == report)&&(identical(other.type, type) || other.type == type)&&(identical(other.content, content) || other.content == content)&&(identical(other.earthquake, earthquake) || other.earthquake == earthquake)&&const DeepCollectionEquality().equals(other.predictions, _predictions)&&const DeepCollectionEquality().equals(other.observations, _observations)); } @override -int get hashCode => Object.hash(runtimeType,id,sent,msgType,report,type,content,earthquake,const DeepCollectionEquality().hash(_predictions),const DeepCollectionEquality().hash(_observations)); +int get hashCode { + return Object.hash(runtimeType,id,sent,msgType,report,type,content,earthquake,const DeepCollectionEquality().hash(_predictions),const DeepCollectionEquality().hash(_observations)); +} @override String toString() { - return 'TsunamiReport(id: $id, sent: $sent, msgType: $msgType, report: $report, type: $type, content: $content, earthquake: $earthquake, predictions: $predictions, observations: $observations)'; + return 'TsunamiReport(id: $id, sent: $sent, msgType: $msgType, report: $report, type: $type, content: $content, earthquake: $earthquake, predictions: $predictions, observations: $observations)'; } diff --git a/lib/features/typhoon/domain/storm_circle.freezed.dart b/lib/features/typhoon/domain/storm_circle.freezed.dart index e2b5e7113..05a60d9d8 100644 --- a/lib/features/typhoon/domain/storm_circle.freezed.dart +++ b/lib/features/typhoon/domain/storm_circle.freezed.dart @@ -34,16 +34,21 @@ $StormCircleCopyWith get copyWith => _$StormCircleCopyWithImpl Object.hash(runtimeType,avg,ne,se,sw,nw); +int get hashCode { + final _this = this as StormCircle; + return Object.hash(runtimeType,_this.avg,_this.ne,_this.se,_this.sw,_this.nw); +} @override String toString() { - return 'StormCircle(avg: $avg, ne: $ne, se: $se, sw: $sw, nw: $nw)'; + final _this = this as StormCircle; + return 'StormCircle(avg: ${_this.avg}, ne: ${_this.ne}, se: ${_this.se}, sw: ${_this.sw}, nw: ${_this.nw})'; } @@ -246,16 +251,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _StormCircle&&(identical(other.avg, avg) || other.avg == avg)&&(identical(other.ne, ne) || other.ne == ne)&&(identical(other.se, se) || other.se == se)&&(identical(other.sw, sw) || other.sw == sw)&&(identical(other.nw, nw) || other.nw == nw)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _StormCircle&&(identical(other.avg, avg) || other.avg == avg)&&(identical(other.ne, ne) || other.ne == ne)&&(identical(other.se, se) || other.se == se)&&(identical(other.sw, sw) || other.sw == sw)&&(identical(other.nw, nw) || other.nw == nw)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,avg,ne,se,sw,nw); +int get hashCode { + return Object.hash(runtimeType,avg,ne,se,sw,nw); +} @override String toString() { - return 'StormCircle(avg: $avg, ne: $ne, se: $se, sw: $sw, nw: $nw)'; + return 'StormCircle(avg: $avg, ne: $ne, se: $se, sw: $sw, nw: $nw)'; } diff --git a/lib/features/typhoon/domain/typhoon_cyclone.freezed.dart b/lib/features/typhoon/domain/typhoon_cyclone.freezed.dart index c17f58f5d..6c6df4bea 100644 --- a/lib/features/typhoon/domain/typhoon_cyclone.freezed.dart +++ b/lib/features/typhoon/domain/typhoon_cyclone.freezed.dart @@ -39,16 +39,21 @@ $TyphoonCycloneCopyWith get copyWith => _$TyphoonCycloneCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonCyclone&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.year, year) || other.year == year)&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.tyNo, tyNo) || other.tyNo == tyNo)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)); + final _this = this as TyphoonCyclone; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonCyclone&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.cwaName, _this.cwaName) || other.cwaName == _this.cwaName)&&(identical(other.year, _this.year) || other.year == _this.year)&&(identical(other.tdNo, _this.tdNo) || other.tdNo == _this.tdNo)&&(identical(other.tyNo, _this.tyNo) || other.tyNo == _this.tyNo)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.wind, _this.wind) || other.wind == _this.wind)&&(identical(other.gust, _this.gust) || other.gust == _this.gust)&&(identical(other.pressure, _this.pressure) || other.pressure == _this.pressure)&&(identical(other.speed, _this.speed) || other.speed == _this.speed)&&(identical(other.direction, _this.direction) || other.direction == _this.direction)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,time,latitude,longitude,wind,gust,pressure,speed,direction); +int get hashCode { + final _this = this as TyphoonCyclone; + return Object.hash(runtimeType,_this.name,_this.cwaName,_this.year,_this.tdNo,_this.tyNo,_this.time,_this.latitude,_this.longitude,_this.wind,_this.gust,_this.pressure,_this.speed,_this.direction); +} @override String toString() { - return 'TyphoonCyclone(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction)'; + final _this = this as TyphoonCyclone; + return 'TyphoonCyclone(name: ${_this.name}, cwaName: ${_this.cwaName}, year: ${_this.year}, tdNo: ${_this.tdNo}, tyNo: ${_this.tyNo}, time: ${_this.time}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, wind: ${_this.wind}, gust: ${_this.gust}, pressure: ${_this.pressure}, speed: ${_this.speed}, direction: ${_this.direction})'; } @@ -272,16 +277,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonCyclone&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.year, year) || other.year == year)&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.tyNo, tyNo) || other.tyNo == tyNo)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonCyclone&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.year, year) || other.year == year)&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.tyNo, tyNo) || other.tyNo == tyNo)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,time,latitude,longitude,wind,gust,pressure,speed,direction); +int get hashCode { + return Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,time,latitude,longitude,wind,gust,pressure,speed,direction); +} @override String toString() { - return 'TyphoonCyclone(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction)'; + return 'TyphoonCyclone(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction)'; } @@ -348,16 +355,21 @@ $CycloneIndexCopyWith get copyWith => _$CycloneIndexCopyWithImpl Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(cyclones)); +int get hashCode { + final _this = this as CycloneIndex; + return Object.hash(runtimeType,_this.updated,const DeepCollectionEquality().hash(_this.cyclones)); +} @override String toString() { - return 'CycloneIndex(updated: $updated, cyclones: $cyclones)'; + final _this = this as CycloneIndex; + return 'CycloneIndex(updated: ${_this.updated}, cyclones: ${_this.cyclones})'; } @@ -555,16 +567,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _CycloneIndex&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other._cyclones, _cyclones)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _CycloneIndex&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, _cyclones)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +int get hashCode { + return Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +} @override String toString() { - return 'CycloneIndex(updated: $updated, cyclones: $cyclones)'; + return 'CycloneIndex(updated: $updated, cyclones: $cyclones)'; } diff --git a/lib/features/typhoon/domain/typhoon_potential.freezed.dart b/lib/features/typhoon/domain/typhoon_potential.freezed.dart index 04b95e80b..bd6972da4 100644 --- a/lib/features/typhoon/domain/typhoon_potential.freezed.dart +++ b/lib/features/typhoon/domain/typhoon_potential.freezed.dart @@ -31,16 +31,21 @@ $ForecastPointCopyWith get copyWith => _$ForecastPointCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is ForecastPoint&&(identical(other.label, label) || other.label == label)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + final _this = this as ForecastPoint; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ForecastPoint&&(identical(other.label, _this.label) || other.label == _this.label)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,label,latitude,longitude); +int get hashCode { + final _this = this as ForecastPoint; + return Object.hash(runtimeType,_this.label,_this.latitude,_this.longitude); +} @override String toString() { - return 'ForecastPoint(label: $label, latitude: $latitude, longitude: $longitude)'; + final _this = this as ForecastPoint; + return 'ForecastPoint(label: ${_this.label}, latitude: ${_this.latitude}, longitude: ${_this.longitude})'; } @@ -236,16 +241,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ForecastPoint&&(identical(other.label, label) || other.label == label)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ForecastPoint&&(identical(other.label, label) || other.label == label)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,label,latitude,longitude); +int get hashCode { + return Object.hash(runtimeType,label,latitude,longitude); +} @override String toString() { - return 'ForecastPoint(label: $label, latitude: $latitude, longitude: $longitude)'; + return 'ForecastPoint(label: $label, latitude: $latitude, longitude: $longitude)'; } @@ -307,16 +314,21 @@ $TyphoonPotentialCopyWith get copyWith => _$TyphoonPotentialCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonPotential&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.name, name) || other.name == name)&&const DeepCollectionEquality().equals(other.past, past)&&const DeepCollectionEquality().equals(other.forecast, forecast)&&const DeepCollectionEquality().equals(other.cone, cone)&&const DeepCollectionEquality().equals(other.circle, circle)&&(identical(other.current, current) || other.current == current)&&const DeepCollectionEquality().equals(other.points, points)); + final _this = this as TyphoonPotential; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonPotential&&(identical(other.tdNo, _this.tdNo) || other.tdNo == _this.tdNo)&&(identical(other.name, _this.name) || other.name == _this.name)&&const DeepCollectionEquality().equals(other.past, _this.past)&&const DeepCollectionEquality().equals(other.forecast, _this.forecast)&&const DeepCollectionEquality().equals(other.cone, _this.cone)&&const DeepCollectionEquality().equals(other.circle, _this.circle)&&(identical(other.current, _this.current) || other.current == _this.current)&&const DeepCollectionEquality().equals(other.points, _this.points)); } @override -int get hashCode => Object.hash(runtimeType,tdNo,name,const DeepCollectionEquality().hash(past),const DeepCollectionEquality().hash(forecast),const DeepCollectionEquality().hash(cone),const DeepCollectionEquality().hash(circle),current,const DeepCollectionEquality().hash(points)); +int get hashCode { + final _this = this as TyphoonPotential; + return Object.hash(runtimeType,_this.tdNo,_this.name,const DeepCollectionEquality().hash(_this.past),const DeepCollectionEquality().hash(_this.forecast),const DeepCollectionEquality().hash(_this.cone),const DeepCollectionEquality().hash(_this.circle),_this.current,const DeepCollectionEquality().hash(_this.points)); +} @override String toString() { - return 'TyphoonPotential(tdNo: $tdNo, name: $name, past: $past, forecast: $forecast, cone: $cone, circle: $circle, current: $current, points: $points)'; + final _this = this as TyphoonPotential; + return 'TyphoonPotential(tdNo: ${_this.tdNo}, name: ${_this.name}, past: ${_this.past}, forecast: ${_this.forecast}, cone: ${_this.cone}, circle: ${_this.circle}, current: ${_this.current}, points: ${_this.points})'; } @@ -562,16 +574,18 @@ _$TyphoonPotentialCopyWith<_TyphoonPotential> get copyWith => __$TyphoonPotentia @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonPotential&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.name, name) || other.name == name)&&const DeepCollectionEquality().equals(other._past, _past)&&const DeepCollectionEquality().equals(other._forecast, _forecast)&&const DeepCollectionEquality().equals(other._cone, _cone)&&const DeepCollectionEquality().equals(other._circle, _circle)&&(identical(other.current, current) || other.current == current)&&const DeepCollectionEquality().equals(other._points, _points)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonPotential&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.name, name) || other.name == name)&&const DeepCollectionEquality().equals(other.past, _past)&&const DeepCollectionEquality().equals(other.forecast, _forecast)&&const DeepCollectionEquality().equals(other.cone, _cone)&&const DeepCollectionEquality().equals(other.circle, _circle)&&(identical(other.current, current) || other.current == current)&&const DeepCollectionEquality().equals(other.points, _points)); } @override -int get hashCode => Object.hash(runtimeType,tdNo,name,const DeepCollectionEquality().hash(_past),const DeepCollectionEquality().hash(_forecast),const DeepCollectionEquality().hash(_cone),const DeepCollectionEquality().hash(_circle),current,const DeepCollectionEquality().hash(_points)); +int get hashCode { + return Object.hash(runtimeType,tdNo,name,const DeepCollectionEquality().hash(_past),const DeepCollectionEquality().hash(_forecast),const DeepCollectionEquality().hash(_cone),const DeepCollectionEquality().hash(_circle),current,const DeepCollectionEquality().hash(_points)); +} @override String toString() { - return 'TyphoonPotential(tdNo: $tdNo, name: $name, past: $past, forecast: $forecast, cone: $cone, circle: $circle, current: $current, points: $points)'; + return 'TyphoonPotential(tdNo: $tdNo, name: $name, past: $past, forecast: $forecast, cone: $cone, circle: $circle, current: $current, points: $points)'; } @@ -630,16 +644,21 @@ $PotentialPayloadCopyWith get copyWith => _$PotentialPayloadCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is PotentialPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, cyclones)); + final _this = this as PotentialPayload; + return identical(this, other) || (other.runtimeType == runtimeType&&other is PotentialPayload&&(identical(other.updated, _this.updated) || other.updated == _this.updated)&&const DeepCollectionEquality().equals(other.cyclones, _this.cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(cyclones)); +int get hashCode { + final _this = this as PotentialPayload; + return Object.hash(runtimeType,_this.updated,const DeepCollectionEquality().hash(_this.cyclones)); +} @override String toString() { - return 'PotentialPayload(updated: $updated, cyclones: $cyclones)'; + final _this = this as PotentialPayload; + return 'PotentialPayload(updated: ${_this.updated}, cyclones: ${_this.cyclones})'; } @@ -834,16 +853,18 @@ _$PotentialPayloadCopyWith<_PotentialPayload> get copyWith => __$PotentialPayloa @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _PotentialPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other._cyclones, _cyclones)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _PotentialPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, _cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +int get hashCode { + return Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +} @override String toString() { - return 'PotentialPayload(updated: $updated, cyclones: $cyclones)'; + return 'PotentialPayload(updated: $updated, cyclones: $cyclones)'; } diff --git a/lib/features/typhoon/domain/typhoon_probability.freezed.dart b/lib/features/typhoon/domain/typhoon_probability.freezed.dart index d3be21e71..871061416 100644 --- a/lib/features/typhoon/domain/typhoon_probability.freezed.dart +++ b/lib/features/typhoon/domain/typhoon_probability.freezed.dart @@ -28,16 +28,21 @@ $ProbabilityLevelCopyWith get copyWith => _$ProbabilityLevelCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is ProbabilityLevel&&(identical(other.p, p) || other.p == p)&&const DeepCollectionEquality().equals(other.coords, coords)); + final _this = this as ProbabilityLevel; + return identical(this, other) || (other.runtimeType == runtimeType&&other is ProbabilityLevel&&(identical(other.p, _this.p) || other.p == _this.p)&&const DeepCollectionEquality().equals(other.coords, _this.coords)); } @override -int get hashCode => Object.hash(runtimeType,p,const DeepCollectionEquality().hash(coords)); +int get hashCode { + final _this = this as ProbabilityLevel; + return Object.hash(runtimeType,_this.p,const DeepCollectionEquality().hash(_this.coords)); +} @override String toString() { - return 'ProbabilityLevel(p: $p, coords: $coords)'; + final _this = this as ProbabilityLevel; + return 'ProbabilityLevel(p: ${_this.p}, coords: ${_this.coords})'; } @@ -235,16 +240,18 @@ _$ProbabilityLevelCopyWith<_ProbabilityLevel> get copyWith => __$ProbabilityLeve @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ProbabilityLevel&&(identical(other.p, p) || other.p == p)&&const DeepCollectionEquality().equals(other._coords, _coords)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ProbabilityLevel&&(identical(other.p, p) || other.p == p)&&const DeepCollectionEquality().equals(other.coords, _coords)); } @override -int get hashCode => Object.hash(runtimeType,p,const DeepCollectionEquality().hash(_coords)); +int get hashCode { + return Object.hash(runtimeType,p,const DeepCollectionEquality().hash(_coords)); +} @override String toString() { - return 'ProbabilityLevel(p: $p, coords: $coords)'; + return 'ProbabilityLevel(p: $p, coords: $coords)'; } @@ -298,16 +305,21 @@ $CycloneProbabilityCopyWith get copyWith => _$CycloneProbabi @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is CycloneProbability&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&const DeepCollectionEquality().equals(other.levels, levels)); + final _this = this as CycloneProbability; + return identical(this, other) || (other.runtimeType == runtimeType&&other is CycloneProbability&&(identical(other.tdNo, _this.tdNo) || other.tdNo == _this.tdNo)&&const DeepCollectionEquality().equals(other.levels, _this.levels)); } @override -int get hashCode => Object.hash(runtimeType,tdNo,const DeepCollectionEquality().hash(levels)); +int get hashCode { + final _this = this as CycloneProbability; + return Object.hash(runtimeType,_this.tdNo,const DeepCollectionEquality().hash(_this.levels)); +} @override String toString() { - return 'CycloneProbability(tdNo: $tdNo, levels: $levels)'; + final _this = this as CycloneProbability; + return 'CycloneProbability(tdNo: ${_this.tdNo}, levels: ${_this.levels})'; } @@ -503,16 +515,18 @@ _$CycloneProbabilityCopyWith<_CycloneProbability> get copyWith => __$CycloneProb @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _CycloneProbability&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&const DeepCollectionEquality().equals(other._levels, _levels)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _CycloneProbability&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&const DeepCollectionEquality().equals(other.levels, _levels)); } @override -int get hashCode => Object.hash(runtimeType,tdNo,const DeepCollectionEquality().hash(_levels)); +int get hashCode { + return Object.hash(runtimeType,tdNo,const DeepCollectionEquality().hash(_levels)); +} @override String toString() { - return 'CycloneProbability(tdNo: $tdNo, levels: $levels)'; + return 'CycloneProbability(tdNo: $tdNo, levels: $levels)'; } @@ -565,16 +579,21 @@ $TyphoonProbabilityCopyWith get copyWith => _$TyphoonProbabi @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonProbability&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, cyclones)); + final _this = this as TyphoonProbability; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonProbability&&(identical(other.updated, _this.updated) || other.updated == _this.updated)&&const DeepCollectionEquality().equals(other.cyclones, _this.cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(cyclones)); +int get hashCode { + final _this = this as TyphoonProbability; + return Object.hash(runtimeType,_this.updated,const DeepCollectionEquality().hash(_this.cyclones)); +} @override String toString() { - return 'TyphoonProbability(updated: $updated, cyclones: $cyclones)'; + final _this = this as TyphoonProbability; + return 'TyphoonProbability(updated: ${_this.updated}, cyclones: ${_this.cyclones})'; } @@ -769,16 +788,18 @@ _$TyphoonProbabilityCopyWith<_TyphoonProbability> get copyWith => __$TyphoonProb @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonProbability&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other._cyclones, _cyclones)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonProbability&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, _cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +int get hashCode { + return Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +} @override String toString() { - return 'TyphoonProbability(updated: $updated, cyclones: $cyclones)'; + return 'TyphoonProbability(updated: $updated, cyclones: $cyclones)'; } diff --git a/lib/features/typhoon/domain/typhoon_track.freezed.dart b/lib/features/typhoon/domain/typhoon_track.freezed.dart index e0887daa3..26da36da6 100644 --- a/lib/features/typhoon/domain/typhoon_track.freezed.dart +++ b/lib/features/typhoon/domain/typhoon_track.freezed.dart @@ -32,16 +32,21 @@ $TrackFixCopyWith get copyWith => _$TrackFixCopyWithImpl(thi @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackFix&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)); + final _this = this as TrackFix; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackFix&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.wind, _this.wind) || other.wind == _this.wind)&&(identical(other.gust, _this.gust) || other.gust == _this.gust)&&(identical(other.pressure, _this.pressure) || other.pressure == _this.pressure)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure); +int get hashCode { + final _this = this as TrackFix; + return Object.hash(runtimeType,_this.time,_this.latitude,_this.longitude,_this.wind,_this.gust,_this.pressure); +} @override String toString() { - return 'TrackFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure)'; + final _this = this as TrackFix; + return 'TrackFix(time: ${_this.time}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, wind: ${_this.wind}, gust: ${_this.gust}, pressure: ${_this.pressure})'; } @@ -244,16 +249,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackFix&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackFix&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure); +int get hashCode { + return Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure); +} @override String toString() { - return 'TrackFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure)'; + return 'TrackFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure)'; } @@ -318,16 +325,21 @@ $TrackNowCopyWith get copyWith => _$TrackNowCopyWithImpl(thi @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackNow&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&const DeepCollectionEquality().equals(other.move, move)&&(identical(other.c15, c15) || other.c15 == c15)&&(identical(other.c25, c25) || other.c25 == c25)); + final _this = this as TrackNow; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackNow&&(identical(other.speed, _this.speed) || other.speed == _this.speed)&&(identical(other.direction, _this.direction) || other.direction == _this.direction)&&const DeepCollectionEquality().equals(other.move, _this.move)&&(identical(other.c15, _this.c15) || other.c15 == _this.c15)&&(identical(other.c25, _this.c25) || other.c25 == _this.c25)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,speed,direction,const DeepCollectionEquality().hash(move),c15,c25); +int get hashCode { + final _this = this as TrackNow; + return Object.hash(runtimeType,_this.speed,_this.direction,const DeepCollectionEquality().hash(_this.move),_this.c15,_this.c25); +} @override String toString() { - return 'TrackNow(speed: $speed, direction: $direction, move: $move, c15: $c15, c25: $c25)'; + final _this = this as TrackNow; + return 'TrackNow(speed: ${_this.speed}, direction: ${_this.direction}, move: ${_this.move}, c15: ${_this.c15}, c25: ${_this.c25})'; } @@ -563,16 +575,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackNow&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&const DeepCollectionEquality().equals(other._move, _move)&&(identical(other.c15, c15) || other.c15 == c15)&&(identical(other.c25, c25) || other.c25 == c25)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackNow&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&const DeepCollectionEquality().equals(other.move, _move)&&(identical(other.c15, c15) || other.c15 == c15)&&(identical(other.c25, c25) || other.c25 == c25)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,speed,direction,const DeepCollectionEquality().hash(_move),c15,c25); +int get hashCode { + return Object.hash(runtimeType,speed,direction,const DeepCollectionEquality().hash(_move),c15,c25); +} @override String toString() { - return 'TrackNow(speed: $speed, direction: $direction, move: $move, c15: $c15, c25: $c25)'; + return 'TrackNow(speed: $speed, direction: $direction, move: $move, c15: $c15, c25: $c25)'; } @@ -664,16 +678,21 @@ $TrackForecastCopyWith get copyWith => _$TrackForecastCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackForecast&&(identical(other.tau, tau) || other.tau == tau)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.r15, r15) || other.r15 == r15)&&(identical(other.r70, r70) || other.r70 == r70)&&const DeepCollectionEquality().equals(other.state, state)); + final _this = this as TrackForecast; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TrackForecast&&(identical(other.tau, _this.tau) || other.tau == _this.tau)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.wind, _this.wind) || other.wind == _this.wind)&&(identical(other.gust, _this.gust) || other.gust == _this.gust)&&(identical(other.pressure, _this.pressure) || other.pressure == _this.pressure)&&(identical(other.speed, _this.speed) || other.speed == _this.speed)&&(identical(other.direction, _this.direction) || other.direction == _this.direction)&&(identical(other.r15, _this.r15) || other.r15 == _this.r15)&&(identical(other.r70, _this.r70) || other.r70 == _this.r70)&&const DeepCollectionEquality().equals(other.state, _this.state)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,tau,time,latitude,longitude,wind,gust,pressure,speed,direction,r15,r70,const DeepCollectionEquality().hash(state)); +int get hashCode { + final _this = this as TrackForecast; + return Object.hash(runtimeType,_this.tau,_this.time,_this.latitude,_this.longitude,_this.wind,_this.gust,_this.pressure,_this.speed,_this.direction,_this.r15,_this.r70,const DeepCollectionEquality().hash(_this.state)); +} @override String toString() { - return 'TrackForecast(tau: $tau, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction, r15: $r15, r70: $r70, state: $state)'; + final _this = this as TrackForecast; + return 'TrackForecast(tau: ${_this.tau}, time: ${_this.time}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, wind: ${_this.wind}, gust: ${_this.gust}, pressure: ${_this.pressure}, speed: ${_this.speed}, direction: ${_this.direction}, r15: ${_this.r15}, r70: ${_this.r70}, state: ${_this.state})'; } @@ -903,16 +922,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackForecast&&(identical(other.tau, tau) || other.tau == tau)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.r15, r15) || other.r15 == r15)&&(identical(other.r70, r70) || other.r70 == r70)&&const DeepCollectionEquality().equals(other._state, _state)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackForecast&&(identical(other.tau, tau) || other.tau == tau)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.r15, r15) || other.r15 == r15)&&(identical(other.r70, r70) || other.r70 == r70)&&const DeepCollectionEquality().equals(other.state, _state)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,tau,time,latitude,longitude,wind,gust,pressure,speed,direction,r15,r70,const DeepCollectionEquality().hash(_state)); +int get hashCode { + return Object.hash(runtimeType,tau,time,latitude,longitude,wind,gust,pressure,speed,direction,r15,r70,const DeepCollectionEquality().hash(_state)); +} @override String toString() { - return 'TrackForecast(tau: $tau, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction, r15: $r15, r70: $r70, state: $state)'; + return 'TrackForecast(tau: $tau, time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, speed: $speed, direction: $direction, r15: $r15, r70: $r70, state: $state)'; } @@ -978,16 +999,21 @@ $TyphoonTrackCopyWith get copyWith => _$TyphoonTrackCopyWithImpl Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,const DeepCollectionEquality().hash(analysis),now,const DeepCollectionEquality().hash(forecast)); +int get hashCode { + final _this = this as TyphoonTrack; + return Object.hash(runtimeType,_this.name,_this.cwaName,_this.year,_this.tdNo,_this.tyNo,const DeepCollectionEquality().hash(_this.analysis),_this.now,const DeepCollectionEquality().hash(_this.forecast)); +} @override String toString() { - return 'TyphoonTrack(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, analysis: $analysis, now: $now, forecast: $forecast)'; + final _this = this as TyphoonTrack; + return 'TyphoonTrack(name: ${_this.name}, cwaName: ${_this.cwaName}, year: ${_this.year}, tdNo: ${_this.tdNo}, tyNo: ${_this.tyNo}, analysis: ${_this.analysis}, now: ${_this.now}, forecast: ${_this.forecast})'; } @@ -1215,16 +1241,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonTrack&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.year, year) || other.year == year)&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.tyNo, tyNo) || other.tyNo == tyNo)&&const DeepCollectionEquality().equals(other._analysis, _analysis)&&(identical(other.now, now) || other.now == now)&&const DeepCollectionEquality().equals(other._forecast, _forecast)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonTrack&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.year, year) || other.year == year)&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.tyNo, tyNo) || other.tyNo == tyNo)&&const DeepCollectionEquality().equals(other.analysis, _analysis)&&(identical(other.now, now) || other.now == now)&&const DeepCollectionEquality().equals(other.forecast, _forecast)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,const DeepCollectionEquality().hash(_analysis),now,const DeepCollectionEquality().hash(_forecast)); +int get hashCode { + return Object.hash(runtimeType,name,cwaName,year,tdNo,tyNo,const DeepCollectionEquality().hash(_analysis),now,const DeepCollectionEquality().hash(_forecast)); +} @override String toString() { - return 'TyphoonTrack(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, analysis: $analysis, now: $now, forecast: $forecast)'; + return 'TyphoonTrack(name: $name, cwaName: $cwaName, year: $year, tdNo: $tdNo, tyNo: $tyNo, analysis: $analysis, now: $now, forecast: $forecast)'; } @@ -1298,16 +1326,21 @@ $TrackPayloadCopyWith get copyWith => _$TrackPayloadCopyWithImpl Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(cyclones)); +int get hashCode { + final _this = this as TrackPayload; + return Object.hash(runtimeType,_this.updated,const DeepCollectionEquality().hash(_this.cyclones)); +} @override String toString() { - return 'TrackPayload(updated: $updated, cyclones: $cyclones)'; + final _this = this as TrackPayload; + return 'TrackPayload(updated: ${_this.updated}, cyclones: ${_this.cyclones})'; } @@ -1505,16 +1538,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other._cyclones, _cyclones)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TrackPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, _cyclones)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +int get hashCode { + return Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +} @override String toString() { - return 'TrackPayload(updated: $updated, cyclones: $cyclones)'; + return 'TrackPayload(updated: $updated, cyclones: $cyclones)'; } diff --git a/lib/features/typhoon/domain/typhoon_warning.freezed.dart b/lib/features/typhoon/domain/typhoon_warning.freezed.dart index 0400f522a..e427dbdc5 100644 --- a/lib/features/typhoon/domain/typhoon_warning.freezed.dart +++ b/lib/features/typhoon/domain/typhoon_warning.freezed.dart @@ -34,16 +34,21 @@ $WarningFixCopyWith get copyWith => _$WarningFixCopyWithImpl Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure,r15,const DeepCollectionEquality().hash(scale)); +int get hashCode { + final _this = this as WarningFix; + return Object.hash(runtimeType,_this.time,_this.latitude,_this.longitude,_this.wind,_this.gust,_this.pressure,_this.r15,const DeepCollectionEquality().hash(_this.scale)); +} @override String toString() { - return 'WarningFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, r15: $r15, scale: $scale)'; + final _this = this as WarningFix; + return 'WarningFix(time: ${_this.time}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, wind: ${_this.wind}, gust: ${_this.gust}, pressure: ${_this.pressure}, r15: ${_this.r15}, scale: ${_this.scale})'; } @@ -261,16 +266,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningFix&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.r15, r15) || other.r15 == r15)&&const DeepCollectionEquality().equals(other._scale, _scale)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningFix&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.r15, r15) || other.r15 == r15)&&const DeepCollectionEquality().equals(other.scale, _scale)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure,r15,const DeepCollectionEquality().hash(_scale)); +int get hashCode { + return Object.hash(runtimeType,time,latitude,longitude,wind,gust,pressure,r15,const DeepCollectionEquality().hash(_scale)); +} @override String toString() { - return 'WarningFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, r15: $r15, scale: $scale)'; + return 'WarningFix(time: $time, latitude: $latitude, longitude: $longitude, wind: $wind, gust: $gust, pressure: $pressure, r15: $r15, scale: $scale)'; } @@ -335,16 +342,21 @@ $WarningTyphoonCopyWith get copyWith => _$WarningTyphoonCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningTyphoon&&(identical(other.no, no) || other.no == no)&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.reportNo, reportNo) || other.reportNo == reportNo)&&(identical(other.category, category) || other.category == category)&&(identical(other.analysis, analysis) || other.analysis == analysis)&&(identical(other.prediction, prediction) || other.prediction == prediction)); + final _this = this as WarningTyphoon; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningTyphoon&&(identical(other.no, _this.no) || other.no == _this.no)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.cwaName, _this.cwaName) || other.cwaName == _this.cwaName)&&(identical(other.reportNo, _this.reportNo) || other.reportNo == _this.reportNo)&&(identical(other.category, _this.category) || other.category == _this.category)&&(identical(other.analysis, _this.analysis) || other.analysis == _this.analysis)&&(identical(other.prediction, _this.prediction) || other.prediction == _this.prediction)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,no,name,cwaName,reportNo,category,analysis,prediction); +int get hashCode { + final _this = this as WarningTyphoon; + return Object.hash(runtimeType,_this.no,_this.name,_this.cwaName,_this.reportNo,_this.category,_this.analysis,_this.prediction); +} @override String toString() { - return 'WarningTyphoon(no: $no, name: $name, cwaName: $cwaName, reportNo: $reportNo, category: $category, analysis: $analysis, prediction: $prediction)'; + final _this = this as WarningTyphoon; + return 'WarningTyphoon(no: ${_this.no}, name: ${_this.name}, cwaName: ${_this.cwaName}, reportNo: ${_this.reportNo}, category: ${_this.category}, analysis: ${_this.analysis}, prediction: ${_this.prediction})'; } @@ -570,16 +582,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningTyphoon&&(identical(other.no, no) || other.no == no)&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.reportNo, reportNo) || other.reportNo == reportNo)&&(identical(other.category, category) || other.category == category)&&(identical(other.analysis, analysis) || other.analysis == analysis)&&(identical(other.prediction, prediction) || other.prediction == prediction)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningTyphoon&&(identical(other.no, no) || other.no == no)&&(identical(other.name, name) || other.name == name)&&(identical(other.cwaName, cwaName) || other.cwaName == cwaName)&&(identical(other.reportNo, reportNo) || other.reportNo == reportNo)&&(identical(other.category, category) || other.category == category)&&(identical(other.analysis, analysis) || other.analysis == analysis)&&(identical(other.prediction, prediction) || other.prediction == prediction)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,no,name,cwaName,reportNo,category,analysis,prediction); +int get hashCode { + return Object.hash(runtimeType,no,name,cwaName,reportNo,category,analysis,prediction); +} @override String toString() { - return 'WarningTyphoon(no: $no, name: $name, cwaName: $cwaName, reportNo: $reportNo, category: $category, analysis: $analysis, prediction: $prediction)'; + return 'WarningTyphoon(no: $no, name: $name, cwaName: $cwaName, reportNo: $reportNo, category: $category, analysis: $analysis, prediction: $prediction)'; } @@ -661,16 +675,21 @@ $WarningSectionCopyWith get copyWith => _$WarningSectionCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningSection&&(identical(other.title, title) || other.title == title)&&(identical(other.text, text) || other.text == text)); + final _this = this as WarningSection; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningSection&&(identical(other.title, _this.title) || other.title == _this.title)&&(identical(other.text, _this.text) || other.text == _this.text)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,title,text); +int get hashCode { + final _this = this as WarningSection; + return Object.hash(runtimeType,_this.title,_this.text); +} @override String toString() { - return 'WarningSection(title: $title, text: $text)'; + final _this = this as WarningSection; + return 'WarningSection(title: ${_this.title}, text: ${_this.text})'; } @@ -862,16 +881,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningSection&&(identical(other.title, title) || other.title == title)&&(identical(other.text, text) || other.text == text)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningSection&&(identical(other.title, title) || other.title == title)&&(identical(other.text, text) || other.text == text)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,title,text); +int get hashCode { + return Object.hash(runtimeType,title,text); +} @override String toString() { - return 'WarningSection(title: $title, text: $text)'; + return 'WarningSection(title: $title, text: $text)'; } @@ -927,16 +948,21 @@ $WarningAreaCopyWith get copyWith => _$WarningAreaCopyWithImpl Object.hash(runtimeType,name,code); +int get hashCode { + final _this = this as WarningArea; + return Object.hash(runtimeType,_this.name,_this.code); +} @override String toString() { - return 'WarningArea(name: $name, code: $code)'; + final _this = this as WarningArea; + return 'WarningArea(name: ${_this.name}, code: ${_this.code})'; } @@ -1128,16 +1154,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningArea&&(identical(other.name, name) || other.name == name)&&(identical(other.code, code) || other.code == code)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningArea&&(identical(other.name, name) || other.name == name)&&(identical(other.code, code) || other.code == code)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,code); +int get hashCode { + return Object.hash(runtimeType,name,code); +} @override String toString() { - return 'WarningArea(name: $name, code: $code)'; + return 'WarningArea(name: $name, code: $code)'; } @@ -1200,16 +1228,21 @@ $TyphoonWarningCopyWith get copyWith => _$TyphoonWarningCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonWarning&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.active, active) || other.active == active)&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.status, status) || other.status == status)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.scope, scope) || other.scope == scope)&&(identical(other.event, event) || other.event == event)&&(identical(other.urgency, urgency) || other.urgency == urgency)&&(identical(other.severity, severity) || other.severity == severity)&&(identical(other.certainty, certainty) || other.certainty == certainty)&&(identical(other.effective, effective) || other.effective == effective)&&(identical(other.onset, onset) || other.onset == onset)&&(identical(other.expires, expires) || other.expires == expires)&&(identical(other.headline, headline) || other.headline == headline)&&(identical(other.senderName, senderName) || other.senderName == senderName)&&(identical(other.typhoon, typhoon) || other.typhoon == typhoon)&&const DeepCollectionEquality().equals(other.sections, sections)&&const DeepCollectionEquality().equals(other.areas, areas)); + final _this = this as TyphoonWarning; + return identical(this, other) || (other.runtimeType == runtimeType&&other is TyphoonWarning&&(identical(other.tdNo, _this.tdNo) || other.tdNo == _this.tdNo)&&(identical(other.active, _this.active) || other.active == _this.active)&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.sent, _this.sent) || other.sent == _this.sent)&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.msgType, _this.msgType) || other.msgType == _this.msgType)&&(identical(other.scope, _this.scope) || other.scope == _this.scope)&&(identical(other.event, _this.event) || other.event == _this.event)&&(identical(other.urgency, _this.urgency) || other.urgency == _this.urgency)&&(identical(other.severity, _this.severity) || other.severity == _this.severity)&&(identical(other.certainty, _this.certainty) || other.certainty == _this.certainty)&&(identical(other.effective, _this.effective) || other.effective == _this.effective)&&(identical(other.onset, _this.onset) || other.onset == _this.onset)&&(identical(other.expires, _this.expires) || other.expires == _this.expires)&&(identical(other.headline, _this.headline) || other.headline == _this.headline)&&(identical(other.senderName, _this.senderName) || other.senderName == _this.senderName)&&(identical(other.typhoon, _this.typhoon) || other.typhoon == _this.typhoon)&&const DeepCollectionEquality().equals(other.sections, _this.sections)&&const DeepCollectionEquality().equals(other.areas, _this.areas)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hashAll([runtimeType,tdNo,active,id,sent,status,msgType,scope,event,urgency,severity,certainty,effective,onset,expires,headline,senderName,typhoon,const DeepCollectionEquality().hash(sections),const DeepCollectionEquality().hash(areas)]); +int get hashCode { + final _this = this as TyphoonWarning; + return Object.hashAll([runtimeType,_this.tdNo,_this.active,_this.id,_this.sent,_this.status,_this.msgType,_this.scope,_this.event,_this.urgency,_this.severity,_this.certainty,_this.effective,_this.onset,_this.expires,_this.headline,_this.senderName,_this.typhoon,const DeepCollectionEquality().hash(_this.sections),const DeepCollectionEquality().hash(_this.areas)]); +} @override String toString() { - return 'TyphoonWarning(tdNo: $tdNo, active: $active, id: $id, sent: $sent, status: $status, msgType: $msgType, scope: $scope, event: $event, urgency: $urgency, severity: $severity, certainty: $certainty, effective: $effective, onset: $onset, expires: $expires, headline: $headline, senderName: $senderName, typhoon: $typhoon, sections: $sections, areas: $areas)'; + final _this = this as TyphoonWarning; + return 'TyphoonWarning(tdNo: ${_this.tdNo}, active: ${_this.active}, id: ${_this.id}, sent: ${_this.sent}, status: ${_this.status}, msgType: ${_this.msgType}, scope: ${_this.scope}, event: ${_this.event}, urgency: ${_this.urgency}, severity: ${_this.severity}, certainty: ${_this.certainty}, effective: ${_this.effective}, onset: ${_this.onset}, expires: ${_this.expires}, headline: ${_this.headline}, senderName: ${_this.senderName}, typhoon: ${_this.typhoon}, sections: ${_this.sections}, areas: ${_this.areas})'; } @@ -1468,16 +1501,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonWarning&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.active, active) || other.active == active)&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.status, status) || other.status == status)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.scope, scope) || other.scope == scope)&&(identical(other.event, event) || other.event == event)&&(identical(other.urgency, urgency) || other.urgency == urgency)&&(identical(other.severity, severity) || other.severity == severity)&&(identical(other.certainty, certainty) || other.certainty == certainty)&&(identical(other.effective, effective) || other.effective == effective)&&(identical(other.onset, onset) || other.onset == onset)&&(identical(other.expires, expires) || other.expires == expires)&&(identical(other.headline, headline) || other.headline == headline)&&(identical(other.senderName, senderName) || other.senderName == senderName)&&(identical(other.typhoon, typhoon) || other.typhoon == typhoon)&&const DeepCollectionEquality().equals(other._sections, _sections)&&const DeepCollectionEquality().equals(other._areas, _areas)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _TyphoonWarning&&(identical(other.tdNo, tdNo) || other.tdNo == tdNo)&&(identical(other.active, active) || other.active == active)&&(identical(other.id, id) || other.id == id)&&(identical(other.sent, sent) || other.sent == sent)&&(identical(other.status, status) || other.status == status)&&(identical(other.msgType, msgType) || other.msgType == msgType)&&(identical(other.scope, scope) || other.scope == scope)&&(identical(other.event, event) || other.event == event)&&(identical(other.urgency, urgency) || other.urgency == urgency)&&(identical(other.severity, severity) || other.severity == severity)&&(identical(other.certainty, certainty) || other.certainty == certainty)&&(identical(other.effective, effective) || other.effective == effective)&&(identical(other.onset, onset) || other.onset == onset)&&(identical(other.expires, expires) || other.expires == expires)&&(identical(other.headline, headline) || other.headline == headline)&&(identical(other.senderName, senderName) || other.senderName == senderName)&&(identical(other.typhoon, typhoon) || other.typhoon == typhoon)&&const DeepCollectionEquality().equals(other.sections, _sections)&&const DeepCollectionEquality().equals(other.areas, _areas)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hashAll([runtimeType,tdNo,active,id,sent,status,msgType,scope,event,urgency,severity,certainty,effective,onset,expires,headline,senderName,typhoon,const DeepCollectionEquality().hash(_sections),const DeepCollectionEquality().hash(_areas)]); +int get hashCode { + return Object.hashAll([runtimeType,tdNo,active,id,sent,status,msgType,scope,event,urgency,severity,certainty,effective,onset,expires,headline,senderName,typhoon,const DeepCollectionEquality().hash(_sections),const DeepCollectionEquality().hash(_areas)]); +} @override String toString() { - return 'TyphoonWarning(tdNo: $tdNo, active: $active, id: $id, sent: $sent, status: $status, msgType: $msgType, scope: $scope, event: $event, urgency: $urgency, severity: $severity, certainty: $certainty, effective: $effective, onset: $onset, expires: $expires, headline: $headline, senderName: $senderName, typhoon: $typhoon, sections: $sections, areas: $areas)'; + return 'TyphoonWarning(tdNo: $tdNo, active: $active, id: $id, sent: $sent, status: $status, msgType: $msgType, scope: $scope, event: $event, urgency: $urgency, severity: $severity, certainty: $certainty, effective: $effective, onset: $onset, expires: $expires, headline: $headline, senderName: $senderName, typhoon: $typhoon, sections: $sections, areas: $areas)'; } @@ -1559,16 +1594,21 @@ $WarningPayloadCopyWith get copyWith => _$WarningPayloadCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, cyclones)); + final _this = this as WarningPayload; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WarningPayload&&(identical(other.updated, _this.updated) || other.updated == _this.updated)&&const DeepCollectionEquality().equals(other.cyclones, _this.cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(cyclones)); +int get hashCode { + final _this = this as WarningPayload; + return Object.hash(runtimeType,_this.updated,const DeepCollectionEquality().hash(_this.cyclones)); +} @override String toString() { - return 'WarningPayload(updated: $updated, cyclones: $cyclones)'; + final _this = this as WarningPayload; + return 'WarningPayload(updated: ${_this.updated}, cyclones: ${_this.cyclones})'; } @@ -1763,16 +1803,18 @@ _$WarningPayloadCopyWith<_WarningPayload> get copyWith => __$WarningPayloadCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other._cyclones, _cyclones)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WarningPayload&&(identical(other.updated, updated) || other.updated == updated)&&const DeepCollectionEquality().equals(other.cyclones, _cyclones)); } @override -int get hashCode => Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +int get hashCode { + return Object.hash(runtimeType,updated,const DeepCollectionEquality().hash(_cyclones)); +} @override String toString() { - return 'WarningPayload(updated: $updated, cyclones: $cyclones)'; + return 'WarningPayload(updated: $updated, cyclones: $cyclones)'; } diff --git a/lib/features/weather/domain/lightning_snapshot.freezed.dart b/lib/features/weather/domain/lightning_snapshot.freezed.dart index 02d023c73..9df0651cf 100644 --- a/lib/features/weather/domain/lightning_snapshot.freezed.dart +++ b/lib/features/weather/domain/lightning_snapshot.freezed.dart @@ -28,16 +28,21 @@ $LightningStrikeCopyWith get copyWith => _$LightningStrikeCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is LightningStrike&&(identical(other.type, type) || other.type == type)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + final _this = this as LightningStrike; + return identical(this, other) || (other.runtimeType == runtimeType&&other is LightningStrike&&(identical(other.type, _this.type) || other.type == _this.type)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)); } @override -int get hashCode => Object.hash(runtimeType,type,time,latitude,longitude); +int get hashCode { + final _this = this as LightningStrike; + return Object.hash(runtimeType,_this.type,_this.time,_this.latitude,_this.longitude); +} @override String toString() { - return 'LightningStrike(type: $type, time: $time, latitude: $latitude, longitude: $longitude)'; + final _this = this as LightningStrike; + return 'LightningStrike(type: ${_this.type}, time: ${_this.time}, latitude: ${_this.latitude}, longitude: ${_this.longitude})'; } @@ -232,16 +237,18 @@ _$LightningStrikeCopyWith<_LightningStrike> get copyWith => __$LightningStrikeCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _LightningStrike&&(identical(other.type, type) || other.type == type)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _LightningStrike&&(identical(other.type, type) || other.type == type)&&(identical(other.time, time) || other.time == time)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); } @override -int get hashCode => Object.hash(runtimeType,type,time,latitude,longitude); +int get hashCode { + return Object.hash(runtimeType,type,time,latitude,longitude); +} @override String toString() { - return 'LightningStrike(type: $type, time: $time, latitude: $latitude, longitude: $longitude)'; + return 'LightningStrike(type: $type, time: $time, latitude: $latitude, longitude: $longitude)'; } @@ -296,16 +303,21 @@ $LightningSnapshotCopyWith get copyWith => _$LightningSnapsho @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is LightningSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other.strikes, strikes)); + final _this = this as LightningSnapshot; + return identical(this, other) || (other.runtimeType == runtimeType&&other is LightningSnapshot&&(identical(other.time, _this.time) || other.time == _this.time)&&const DeepCollectionEquality().equals(other.strikes, _this.strikes)); } @override -int get hashCode => Object.hash(runtimeType,time,const DeepCollectionEquality().hash(strikes)); +int get hashCode { + final _this = this as LightningSnapshot; + return Object.hash(runtimeType,_this.time,const DeepCollectionEquality().hash(_this.strikes)); +} @override String toString() { - return 'LightningSnapshot(time: $time, strikes: $strikes)'; + final _this = this as LightningSnapshot; + return 'LightningSnapshot(time: ${_this.time}, strikes: ${_this.strikes})'; } @@ -500,16 +512,18 @@ _$LightningSnapshotCopyWith<_LightningSnapshot> get copyWith => __$LightningSnap @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _LightningSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other._strikes, _strikes)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _LightningSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other.strikes, _strikes)); } @override -int get hashCode => Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_strikes)); +int get hashCode { + return Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_strikes)); +} @override String toString() { - return 'LightningSnapshot(time: $time, strikes: $strikes)'; + return 'LightningSnapshot(time: $time, strikes: $strikes)'; } diff --git a/lib/features/weather/domain/rain_snapshot.freezed.dart b/lib/features/weather/domain/rain_snapshot.freezed.dart index ed95e5894..2365c2983 100644 --- a/lib/features/weather/domain/rain_snapshot.freezed.dart +++ b/lib/features/weather/domain/rain_snapshot.freezed.dart @@ -36,16 +36,21 @@ $RainObservationCopyWith get copyWith => _$RainObservationCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is RainObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.now, now) || other.now == now)&&(identical(other.min10, min10) || other.min10 == min10)&&(identical(other.hour1, hour1) || other.hour1 == hour1)&&(identical(other.hour3, hour3) || other.hour3 == hour3)&&(identical(other.hour6, hour6) || other.hour6 == hour6)&&(identical(other.hour12, hour12) || other.hour12 == hour12)&&(identical(other.hour24, hour24) || other.hour24 == hour24)&&(identical(other.day2, day2) || other.day2 == day2)&&(identical(other.day3, day3) || other.day3 == day3)); + final _this = this as RainObservation; + return identical(this, other) || (other.runtimeType == runtimeType&&other is RainObservation&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.now, _this.now) || other.now == _this.now)&&(identical(other.min10, _this.min10) || other.min10 == _this.min10)&&(identical(other.hour1, _this.hour1) || other.hour1 == _this.hour1)&&(identical(other.hour3, _this.hour3) || other.hour3 == _this.hour3)&&(identical(other.hour6, _this.hour6) || other.hour6 == _this.hour6)&&(identical(other.hour12, _this.hour12) || other.hour12 == _this.hour12)&&(identical(other.hour24, _this.hour24) || other.hour24 == _this.hour24)&&(identical(other.day2, _this.day2) || other.day2 == _this.day2)&&(identical(other.day3, _this.day3) || other.day3 == _this.day3)); } @override -int get hashCode => Object.hash(runtimeType,id,now,min10,hour1,hour3,hour6,hour12,hour24,day2,day3); +int get hashCode { + final _this = this as RainObservation; + return Object.hash(runtimeType,_this.id,_this.now,_this.min10,_this.hour1,_this.hour3,_this.hour6,_this.hour12,_this.hour24,_this.day2,_this.day3); +} @override String toString() { - return 'RainObservation(id: $id, now: $now, min10: $min10, hour1: $hour1, hour3: $hour3, hour6: $hour6, hour12: $hour12, hour24: $hour24, day2: $day2, day3: $day3)'; + final _this = this as RainObservation; + return 'RainObservation(id: ${_this.id}, now: ${_this.now}, min10: ${_this.min10}, hour1: ${_this.hour1}, hour3: ${_this.hour3}, hour6: ${_this.hour6}, hour12: ${_this.hour12}, hour24: ${_this.hour24}, day2: ${_this.day2}, day3: ${_this.day3})'; } @@ -260,16 +265,18 @@ _$RainObservationCopyWith<_RainObservation> get copyWith => __$RainObservationCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.now, now) || other.now == now)&&(identical(other.min10, min10) || other.min10 == min10)&&(identical(other.hour1, hour1) || other.hour1 == hour1)&&(identical(other.hour3, hour3) || other.hour3 == hour3)&&(identical(other.hour6, hour6) || other.hour6 == hour6)&&(identical(other.hour12, hour12) || other.hour12 == hour12)&&(identical(other.hour24, hour24) || other.hour24 == hour24)&&(identical(other.day2, day2) || other.day2 == day2)&&(identical(other.day3, day3) || other.day3 == day3)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.now, now) || other.now == now)&&(identical(other.min10, min10) || other.min10 == min10)&&(identical(other.hour1, hour1) || other.hour1 == hour1)&&(identical(other.hour3, hour3) || other.hour3 == hour3)&&(identical(other.hour6, hour6) || other.hour6 == hour6)&&(identical(other.hour12, hour12) || other.hour12 == hour12)&&(identical(other.hour24, hour24) || other.hour24 == hour24)&&(identical(other.day2, day2) || other.day2 == day2)&&(identical(other.day3, day3) || other.day3 == day3)); } @override -int get hashCode => Object.hash(runtimeType,id,now,min10,hour1,hour3,hour6,hour12,hour24,day2,day3); +int get hashCode { + return Object.hash(runtimeType,id,now,min10,hour1,hour3,hour6,hour12,hour24,day2,day3); +} @override String toString() { - return 'RainObservation(id: $id, now: $now, min10: $min10, hour1: $hour1, hour3: $hour3, hour6: $hour6, hour12: $hour12, hour24: $hour24, day2: $day2, day3: $day3)'; + return 'RainObservation(id: $id, now: $now, min10: $min10, hour1: $hour1, hour3: $hour3, hour6: $hour6, hour12: $hour12, hour24: $hour24, day2: $day2, day3: $day3)'; } @@ -330,16 +337,21 @@ $RainSnapshotCopyWith get copyWith => _$RainSnapshotCopyWithImpl Object.hash(runtimeType,time,const DeepCollectionEquality().hash(stations)); +int get hashCode { + final _this = this as RainSnapshot; + return Object.hash(runtimeType,_this.time,const DeepCollectionEquality().hash(_this.stations)); +} @override String toString() { - return 'RainSnapshot(time: $time, stations: $stations)'; + final _this = this as RainSnapshot; + return 'RainSnapshot(time: ${_this.time}, stations: ${_this.stations})'; } @@ -534,16 +546,18 @@ _$RainSnapshotCopyWith<_RainSnapshot> get copyWith => __$RainSnapshotCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other._stations, _stations)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other.stations, _stations)); } @override -int get hashCode => Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_stations)); +int get hashCode { + return Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_stations)); +} @override String toString() { - return 'RainSnapshot(time: $time, stations: $stations)'; + return 'RainSnapshot(time: $time, stations: $stations)'; } diff --git a/lib/features/weather/domain/rain_trend.freezed.dart b/lib/features/weather/domain/rain_trend.freezed.dart index bcf878c50..0e8521adb 100644 --- a/lib/features/weather/domain/rain_trend.freezed.dart +++ b/lib/features/weather/domain/rain_trend.freezed.dart @@ -30,16 +30,21 @@ $RainTrendCopyWith get copyWith => _$RainTrendCopyWithImpl @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is RainTrend&&(identical(other.id, id) || other.id == id)&&(identical(other.range, range) || other.range == range)&&const DeepCollectionEquality().equals(other.times, times)&&const DeepCollectionEquality().equals(other.rain, rain)); + final _this = this as RainTrend; + return identical(this, other) || (other.runtimeType == runtimeType&&other is RainTrend&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.range, _this.range) || other.range == _this.range)&&const DeepCollectionEquality().equals(other.times, _this.times)&&const DeepCollectionEquality().equals(other.rain, _this.rain)); } @override -int get hashCode => Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(times),const DeepCollectionEquality().hash(rain)); +int get hashCode { + final _this = this as RainTrend; + return Object.hash(runtimeType,_this.id,_this.range,const DeepCollectionEquality().hash(_this.times),const DeepCollectionEquality().hash(_this.rain)); +} @override String toString() { - return 'RainTrend(id: $id, range: $range, times: $times, rain: $rain)'; + final _this = this as RainTrend; + return 'RainTrend(id: ${_this.id}, range: ${_this.range}, times: ${_this.times}, rain: ${_this.rain})'; } @@ -250,16 +255,18 @@ _$RainTrendCopyWith<_RainTrend> get copyWith => __$RainTrendCopyWithImpl<_RainTr @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainTrend&&(identical(other.id, id) || other.id == id)&&(identical(other.range, range) || other.range == range)&&const DeepCollectionEquality().equals(other._times, _times)&&const DeepCollectionEquality().equals(other._rain, _rain)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _RainTrend&&(identical(other.id, id) || other.id == id)&&(identical(other.range, range) || other.range == range)&&const DeepCollectionEquality().equals(other.times, _times)&&const DeepCollectionEquality().equals(other.rain, _rain)); } @override -int get hashCode => Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(_times),const DeepCollectionEquality().hash(_rain)); +int get hashCode { + return Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(_times),const DeepCollectionEquality().hash(_rain)); +} @override String toString() { - return 'RainTrend(id: $id, range: $range, times: $times, rain: $rain)'; + return 'RainTrend(id: $id, range: $range, times: $times, rain: $rain)'; } diff --git a/lib/features/weather/domain/weather_forecast.freezed.dart b/lib/features/weather/domain/weather_forecast.freezed.dart index c8462bd18..1bb0b5847 100644 --- a/lib/features/weather/domain/weather_forecast.freezed.dart +++ b/lib/features/weather/domain/weather_forecast.freezed.dart @@ -30,16 +30,21 @@ $WeatherForecastCopyWith get copyWith => _$WeatherForecastCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherForecast&&(identical(other.updateTime, updateTime) || other.updateTime == updateTime)&&const DeepCollectionEquality().equals(other.forecast, forecast)); + final _this = this as WeatherForecast; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherForecast&&(identical(other.updateTime, _this.updateTime) || other.updateTime == _this.updateTime)&&const DeepCollectionEquality().equals(other.forecast, _this.forecast)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,updateTime,const DeepCollectionEquality().hash(forecast)); +int get hashCode { + final _this = this as WeatherForecast; + return Object.hash(runtimeType,_this.updateTime,const DeepCollectionEquality().hash(_this.forecast)); +} @override String toString() { - return 'WeatherForecast(updateTime: $updateTime, forecast: $forecast)'; + final _this = this as WeatherForecast; + return 'WeatherForecast(updateTime: ${_this.updateTime}, forecast: ${_this.forecast})'; } @@ -238,16 +243,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherForecast&&(identical(other.updateTime, updateTime) || other.updateTime == updateTime)&&const DeepCollectionEquality().equals(other._forecast, _forecast)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherForecast&&(identical(other.updateTime, updateTime) || other.updateTime == updateTime)&&const DeepCollectionEquality().equals(other.forecast, _forecast)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,updateTime,const DeepCollectionEquality().hash(_forecast)); +int get hashCode { + return Object.hash(runtimeType,updateTime,const DeepCollectionEquality().hash(_forecast)); +} @override String toString() { - return 'WeatherForecast(updateTime: $updateTime, forecast: $forecast)'; + return 'WeatherForecast(updateTime: $updateTime, forecast: $forecast)'; } @@ -310,16 +317,21 @@ $WeatherForecastPointCopyWith get copyWith => _$WeatherFor @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherForecastPoint&&(identical(other.time, time) || other.time == time)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.apparentTemp, apparentTemp) || other.apparentTemp == apparentTemp)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.pop, pop) || other.pop == pop)&&(identical(other.wind, wind) || other.wind == wind)); + final _this = this as WeatherForecastPoint; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherForecastPoint&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.temperature, _this.temperature) || other.temperature == _this.temperature)&&(identical(other.apparentTemp, _this.apparentTemp) || other.apparentTemp == _this.apparentTemp)&&(identical(other.humidity, _this.humidity) || other.humidity == _this.humidity)&&(identical(other.weather, _this.weather) || other.weather == _this.weather)&&(identical(other.weatherCode, _this.weatherCode) || other.weatherCode == _this.weatherCode)&&(identical(other.pop, _this.pop) || other.pop == _this.pop)&&(identical(other.wind, _this.wind) || other.wind == _this.wind)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,temperature,apparentTemp,humidity,weather,weatherCode,pop,wind); +int get hashCode { + final _this = this as WeatherForecastPoint; + return Object.hash(runtimeType,_this.time,_this.temperature,_this.apparentTemp,_this.humidity,_this.weather,_this.weatherCode,_this.pop,_this.wind); +} @override String toString() { - return 'WeatherForecastPoint(time: $time, temperature: $temperature, apparentTemp: $apparentTemp, humidity: $humidity, weather: $weather, weatherCode: $weatherCode, pop: $pop, wind: $wind)'; + final _this = this as WeatherForecastPoint; + return 'WeatherForecastPoint(time: ${_this.time}, temperature: ${_this.temperature}, apparentTemp: ${_this.apparentTemp}, humidity: ${_this.humidity}, weather: ${_this.weather}, weatherCode: ${_this.weatherCode}, pop: ${_this.pop}, wind: ${_this.wind})'; } @@ -539,16 +551,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherForecastPoint&&(identical(other.time, time) || other.time == time)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.apparentTemp, apparentTemp) || other.apparentTemp == apparentTemp)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.pop, pop) || other.pop == pop)&&(identical(other.wind, wind) || other.wind == wind)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherForecastPoint&&(identical(other.time, time) || other.time == time)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.apparentTemp, apparentTemp) || other.apparentTemp == apparentTemp)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.pop, pop) || other.pop == pop)&&(identical(other.wind, wind) || other.wind == wind)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,time,temperature,apparentTemp,humidity,weather,weatherCode,pop,wind); +int get hashCode { + return Object.hash(runtimeType,time,temperature,apparentTemp,humidity,weather,weatherCode,pop,wind); +} @override String toString() { - return 'WeatherForecastPoint(time: $time, temperature: $temperature, apparentTemp: $apparentTemp, humidity: $humidity, weather: $weather, weatherCode: $weatherCode, pop: $pop, wind: $wind)'; + return 'WeatherForecastPoint(time: $time, temperature: $temperature, apparentTemp: $apparentTemp, humidity: $humidity, weather: $weather, weatherCode: $weatherCode, pop: $pop, wind: $wind)'; } @@ -619,16 +633,21 @@ $ForecastWindCopyWith get copyWith => _$ForecastWindCopyWithImpl Object.hash(runtimeType,direction,speed,beaufort); +int get hashCode { + final _this = this as ForecastWind; + return Object.hash(runtimeType,_this.direction,_this.speed,_this.beaufort); +} @override String toString() { - return 'ForecastWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; + final _this = this as ForecastWind; + return 'ForecastWind(direction: ${_this.direction}, speed: ${_this.speed}, beaufort: ${_this.beaufort})'; } @@ -822,16 +841,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _ForecastWind&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.beaufort, beaufort) || other.beaufort == beaufort)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _ForecastWind&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.beaufort, beaufort) || other.beaufort == beaufort)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,direction,speed,beaufort); +int get hashCode { + return Object.hash(runtimeType,direction,speed,beaufort); +} @override String toString() { - return 'ForecastWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; + return 'ForecastWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; } diff --git a/lib/features/weather/domain/weather_realtime.freezed.dart b/lib/features/weather/domain/weather_realtime.freezed.dart index 71dfb98f3..82cf5ce35 100644 --- a/lib/features/weather/domain/weather_realtime.freezed.dart +++ b/lib/features/weather/domain/weather_realtime.freezed.dart @@ -34,16 +34,21 @@ $WeatherRealtimeCopyWith get copyWith => _$WeatherRealtimeCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtime&&(identical(other.id, id) || other.id == id)&&(identical(other.station, station) || other.station == station)&&(identical(other.time, time) || other.time == time)&&(identical(other.data, data) || other.data == data)); + final _this = this as WeatherRealtime; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtime&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.station, _this.station) || other.station == _this.station)&&(identical(other.time, _this.time) || other.time == _this.time)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,station,time,data); +int get hashCode { + final _this = this as WeatherRealtime; + return Object.hash(runtimeType,_this.id,_this.station,_this.time,_this.data); +} @override String toString() { - return 'WeatherRealtime(id: $id, station: $station, time: $time, data: $data)'; + final _this = this as WeatherRealtime; + return 'WeatherRealtime(id: ${_this.id}, station: ${_this.station}, time: ${_this.time}, data: ${_this.data})'; } @@ -262,16 +267,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtime&&(identical(other.id, id) || other.id == id)&&(identical(other.station, station) || other.station == station)&&(identical(other.time, time) || other.time == time)&&(identical(other.data, data) || other.data == data)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtime&&(identical(other.id, id) || other.id == id)&&(identical(other.station, station) || other.station == station)&&(identical(other.time, time) || other.time == time)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,station,time,data); +int get hashCode { + return Object.hash(runtimeType,id,station,time,data); +} @override String toString() { - return 'WeatherRealtime(id: $id, station: $station, time: $time, data: $data)'; + return 'WeatherRealtime(id: $id, station: $station, time: $time, data: $data)'; } @@ -349,16 +356,21 @@ $WeatherRealtimeStationCopyWith get copyWith => _$Weathe @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtimeStation&&(identical(other.name, name) || other.name == name)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.distance, distance) || other.distance == distance)); + final _this = this as WeatherRealtimeStation; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtimeStation&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)&&(identical(other.altitude, _this.altitude) || other.altitude == _this.altitude)&&(identical(other.distance, _this.distance) || other.distance == _this.distance)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,latitude,longitude,altitude,distance); +int get hashCode { + final _this = this as WeatherRealtimeStation; + return Object.hash(runtimeType,_this.name,_this.latitude,_this.longitude,_this.altitude,_this.distance); +} @override String toString() { - return 'WeatherRealtimeStation(name: $name, latitude: $latitude, longitude: $longitude, altitude: $altitude, distance: $distance)'; + final _this = this as WeatherRealtimeStation; + return 'WeatherRealtimeStation(name: ${_this.name}, latitude: ${_this.latitude}, longitude: ${_this.longitude}, altitude: ${_this.altitude}, distance: ${_this.distance})'; } @@ -558,16 +570,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtimeStation&&(identical(other.name, name) || other.name == name)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.distance, distance) || other.distance == distance)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtimeStation&&(identical(other.name, name) || other.name == name)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.distance, distance) || other.distance == distance)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,latitude,longitude,altitude,distance); +int get hashCode { + return Object.hash(runtimeType,name,latitude,longitude,altitude,distance); +} @override String toString() { - return 'WeatherRealtimeStation(name: $name, latitude: $latitude, longitude: $longitude, altitude: $altitude, distance: $distance)'; + return 'WeatherRealtimeStation(name: $name, latitude: $latitude, longitude: $longitude, altitude: $altitude, distance: $distance)'; } @@ -630,16 +644,21 @@ $WeatherRealtimeDataCopyWith get copyWith => _$WeatherRealt @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtimeData&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.rain, rain) || other.rain == rain)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.visibility, visibility) || other.visibility == visibility)&&(identical(other.visibilityText, visibilityText) || other.visibilityText == visibilityText)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.sunshine, sunshine) || other.sunshine == sunshine)); + final _this = this as WeatherRealtimeData; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherRealtimeData&&(identical(other.weather, _this.weather) || other.weather == _this.weather)&&(identical(other.weatherCode, _this.weatherCode) || other.weatherCode == _this.weatherCode)&&(identical(other.temperature, _this.temperature) || other.temperature == _this.temperature)&&(identical(other.humidity, _this.humidity) || other.humidity == _this.humidity)&&(identical(other.rain, _this.rain) || other.rain == _this.rain)&&(identical(other.wind, _this.wind) || other.wind == _this.wind)&&(identical(other.gust, _this.gust) || other.gust == _this.gust)&&(identical(other.visibility, _this.visibility) || other.visibility == _this.visibility)&&(identical(other.visibilityText, _this.visibilityText) || other.visibilityText == _this.visibilityText)&&(identical(other.pressure, _this.pressure) || other.pressure == _this.pressure)&&(identical(other.sunshine, _this.sunshine) || other.sunshine == _this.sunshine)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,weather,weatherCode,temperature,humidity,rain,wind,gust,visibility,visibilityText,pressure,sunshine); +int get hashCode { + final _this = this as WeatherRealtimeData; + return Object.hash(runtimeType,_this.weather,_this.weatherCode,_this.temperature,_this.humidity,_this.rain,_this.wind,_this.gust,_this.visibility,_this.visibilityText,_this.pressure,_this.sunshine); +} @override String toString() { - return 'WeatherRealtimeData(weather: $weather, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, rain: $rain, wind: $wind, gust: $gust, visibility: $visibility, visibilityText: $visibilityText, pressure: $pressure, sunshine: $sunshine)'; + final _this = this as WeatherRealtimeData; + return 'WeatherRealtimeData(weather: ${_this.weather}, weatherCode: ${_this.weatherCode}, temperature: ${_this.temperature}, humidity: ${_this.humidity}, rain: ${_this.rain}, wind: ${_this.wind}, gust: ${_this.gust}, visibility: ${_this.visibility}, visibilityText: ${_this.visibilityText}, pressure: ${_this.pressure}, sunshine: ${_this.sunshine})'; } @@ -871,16 +890,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtimeData&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.rain, rain) || other.rain == rain)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.visibility, visibility) || other.visibility == visibility)&&(identical(other.visibilityText, visibilityText) || other.visibilityText == visibilityText)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.sunshine, sunshine) || other.sunshine == sunshine)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherRealtimeData&&(identical(other.weather, weather) || other.weather == weather)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.rain, rain) || other.rain == rain)&&(identical(other.wind, wind) || other.wind == wind)&&(identical(other.gust, gust) || other.gust == gust)&&(identical(other.visibility, visibility) || other.visibility == visibility)&&(identical(other.visibilityText, visibilityText) || other.visibilityText == visibilityText)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.sunshine, sunshine) || other.sunshine == sunshine)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,weather,weatherCode,temperature,humidity,rain,wind,gust,visibility,visibilityText,pressure,sunshine); +int get hashCode { + return Object.hash(runtimeType,weather,weatherCode,temperature,humidity,rain,wind,gust,visibility,visibilityText,pressure,sunshine); +} @override String toString() { - return 'WeatherRealtimeData(weather: $weather, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, rain: $rain, wind: $wind, gust: $gust, visibility: $visibility, visibilityText: $visibilityText, pressure: $pressure, sunshine: $sunshine)'; + return 'WeatherRealtimeData(weather: $weather, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, rain: $rain, wind: $wind, gust: $gust, visibility: $visibility, visibilityText: $visibilityText, pressure: $pressure, sunshine: $sunshine)'; } @@ -963,16 +984,21 @@ $WeatherWindCopyWith get copyWith => _$WeatherWindCopyWithImpl Object.hash(runtimeType,direction,speed,beaufort); +int get hashCode { + final _this = this as WeatherWind; + return Object.hash(runtimeType,_this.direction,_this.speed,_this.beaufort); +} @override String toString() { - return 'WeatherWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; + final _this = this as WeatherWind; + return 'WeatherWind(direction: ${_this.direction}, speed: ${_this.speed}, beaufort: ${_this.beaufort})'; } @@ -1166,16 +1192,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherWind&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.beaufort, beaufort) || other.beaufort == beaufort)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherWind&&(identical(other.direction, direction) || other.direction == direction)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.beaufort, beaufort) || other.beaufort == beaufort)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,direction,speed,beaufort); +int get hashCode { + return Object.hash(runtimeType,direction,speed,beaufort); +} @override String toString() { - return 'WeatherWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; + return 'WeatherWind(direction: $direction, speed: $speed, beaufort: $beaufort)'; } diff --git a/lib/features/weather/domain/weather_snapshot.freezed.dart b/lib/features/weather/domain/weather_snapshot.freezed.dart index 921c74b02..8df5fab5d 100644 --- a/lib/features/weather/domain/weather_snapshot.freezed.dart +++ b/lib/features/weather/domain/weather_snapshot.freezed.dart @@ -34,16 +34,21 @@ $WeatherObservationCopyWith get copyWith => _$WeatherObserva @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.windDirection, windDirection) || other.windDirection == windDirection)&&(identical(other.windSpeed, windSpeed) || other.windSpeed == windSpeed)&&(identical(other.gustSpeed, gustSpeed) || other.gustSpeed == gustSpeed)&&(identical(other.gustDirection, gustDirection) || other.gustDirection == gustDirection)&&(identical(other.gustTime, gustTime) || other.gustTime == gustTime)&&(identical(other.high, high) || other.high == high)&&(identical(other.highTime, highTime) || other.highTime == highTime)&&(identical(other.low, low) || other.low == low)&&(identical(other.lowTime, lowTime) || other.lowTime == lowTime)); + final _this = this as WeatherObservation; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherObservation&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.weatherCode, _this.weatherCode) || other.weatherCode == _this.weatherCode)&&(identical(other.temperature, _this.temperature) || other.temperature == _this.temperature)&&(identical(other.humidity, _this.humidity) || other.humidity == _this.humidity)&&(identical(other.pressure, _this.pressure) || other.pressure == _this.pressure)&&(identical(other.windDirection, _this.windDirection) || other.windDirection == _this.windDirection)&&(identical(other.windSpeed, _this.windSpeed) || other.windSpeed == _this.windSpeed)&&(identical(other.gustSpeed, _this.gustSpeed) || other.gustSpeed == _this.gustSpeed)&&(identical(other.gustDirection, _this.gustDirection) || other.gustDirection == _this.gustDirection)&&(identical(other.gustTime, _this.gustTime) || other.gustTime == _this.gustTime)&&(identical(other.high, _this.high) || other.high == _this.high)&&(identical(other.highTime, _this.highTime) || other.highTime == _this.highTime)&&(identical(other.low, _this.low) || other.low == _this.low)&&(identical(other.lowTime, _this.lowTime) || other.lowTime == _this.lowTime)); } @override -int get hashCode => Object.hash(runtimeType,id,weatherCode,temperature,humidity,pressure,windDirection,windSpeed,gustSpeed,gustDirection,gustTime,high,highTime,low,lowTime); +int get hashCode { + final _this = this as WeatherObservation; + return Object.hash(runtimeType,_this.id,_this.weatherCode,_this.temperature,_this.humidity,_this.pressure,_this.windDirection,_this.windSpeed,_this.gustSpeed,_this.gustDirection,_this.gustTime,_this.high,_this.highTime,_this.low,_this.lowTime); +} @override String toString() { - return 'WeatherObservation(id: $id, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, pressure: $pressure, windDirection: $windDirection, windSpeed: $windSpeed, gustSpeed: $gustSpeed, gustDirection: $gustDirection, gustTime: $gustTime, high: $high, highTime: $highTime, low: $low, lowTime: $lowTime)'; + final _this = this as WeatherObservation; + return 'WeatherObservation(id: ${_this.id}, weatherCode: ${_this.weatherCode}, temperature: ${_this.temperature}, humidity: ${_this.humidity}, pressure: ${_this.pressure}, windDirection: ${_this.windDirection}, windSpeed: ${_this.windSpeed}, gustSpeed: ${_this.gustSpeed}, gustDirection: ${_this.gustDirection}, gustTime: ${_this.gustTime}, high: ${_this.high}, highTime: ${_this.highTime}, low: ${_this.low}, lowTime: ${_this.lowTime})'; } @@ -264,16 +269,18 @@ _$WeatherObservationCopyWith<_WeatherObservation> get copyWith => __$WeatherObse @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.windDirection, windDirection) || other.windDirection == windDirection)&&(identical(other.windSpeed, windSpeed) || other.windSpeed == windSpeed)&&(identical(other.gustSpeed, gustSpeed) || other.gustSpeed == gustSpeed)&&(identical(other.gustDirection, gustDirection) || other.gustDirection == gustDirection)&&(identical(other.gustTime, gustTime) || other.gustTime == gustTime)&&(identical(other.high, high) || other.high == high)&&(identical(other.highTime, highTime) || other.highTime == highTime)&&(identical(other.low, low) || other.low == low)&&(identical(other.lowTime, lowTime) || other.lowTime == lowTime)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherObservation&&(identical(other.id, id) || other.id == id)&&(identical(other.weatherCode, weatherCode) || other.weatherCode == weatherCode)&&(identical(other.temperature, temperature) || other.temperature == temperature)&&(identical(other.humidity, humidity) || other.humidity == humidity)&&(identical(other.pressure, pressure) || other.pressure == pressure)&&(identical(other.windDirection, windDirection) || other.windDirection == windDirection)&&(identical(other.windSpeed, windSpeed) || other.windSpeed == windSpeed)&&(identical(other.gustSpeed, gustSpeed) || other.gustSpeed == gustSpeed)&&(identical(other.gustDirection, gustDirection) || other.gustDirection == gustDirection)&&(identical(other.gustTime, gustTime) || other.gustTime == gustTime)&&(identical(other.high, high) || other.high == high)&&(identical(other.highTime, highTime) || other.highTime == highTime)&&(identical(other.low, low) || other.low == low)&&(identical(other.lowTime, lowTime) || other.lowTime == lowTime)); } @override -int get hashCode => Object.hash(runtimeType,id,weatherCode,temperature,humidity,pressure,windDirection,windSpeed,gustSpeed,gustDirection,gustTime,high,highTime,low,lowTime); +int get hashCode { + return Object.hash(runtimeType,id,weatherCode,temperature,humidity,pressure,windDirection,windSpeed,gustSpeed,gustDirection,gustTime,high,highTime,low,lowTime); +} @override String toString() { - return 'WeatherObservation(id: $id, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, pressure: $pressure, windDirection: $windDirection, windSpeed: $windSpeed, gustSpeed: $gustSpeed, gustDirection: $gustDirection, gustTime: $gustTime, high: $high, highTime: $highTime, low: $low, lowTime: $lowTime)'; + return 'WeatherObservation(id: $id, weatherCode: $weatherCode, temperature: $temperature, humidity: $humidity, pressure: $pressure, windDirection: $windDirection, windSpeed: $windSpeed, gustSpeed: $gustSpeed, gustDirection: $gustDirection, gustTime: $gustTime, high: $high, highTime: $highTime, low: $low, lowTime: $lowTime)'; } @@ -338,16 +345,21 @@ $WeatherSnapshotCopyWith get copyWith => _$WeatherSnapshotCopyW @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other.stations, stations)); + final _this = this as WeatherSnapshot; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherSnapshot&&(identical(other.time, _this.time) || other.time == _this.time)&&const DeepCollectionEquality().equals(other.stations, _this.stations)); } @override -int get hashCode => Object.hash(runtimeType,time,const DeepCollectionEquality().hash(stations)); +int get hashCode { + final _this = this as WeatherSnapshot; + return Object.hash(runtimeType,_this.time,const DeepCollectionEquality().hash(_this.stations)); +} @override String toString() { - return 'WeatherSnapshot(time: $time, stations: $stations)'; + final _this = this as WeatherSnapshot; + return 'WeatherSnapshot(time: ${_this.time}, stations: ${_this.stations})'; } @@ -542,16 +554,18 @@ _$WeatherSnapshotCopyWith<_WeatherSnapshot> get copyWith => __$WeatherSnapshotCo @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other._stations, _stations)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherSnapshot&&(identical(other.time, time) || other.time == time)&&const DeepCollectionEquality().equals(other.stations, _stations)); } @override -int get hashCode => Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_stations)); +int get hashCode { + return Object.hash(runtimeType,time,const DeepCollectionEquality().hash(_stations)); +} @override String toString() { - return 'WeatherSnapshot(time: $time, stations: $stations)'; + return 'WeatherSnapshot(time: $time, stations: $stations)'; } diff --git a/lib/features/weather/domain/weather_station.freezed.dart b/lib/features/weather/domain/weather_station.freezed.dart index 09e64803e..9d96432f2 100644 --- a/lib/features/weather/domain/weather_station.freezed.dart +++ b/lib/features/weather/domain/weather_station.freezed.dart @@ -29,16 +29,21 @@ $WeatherStationCopyWith get copyWith => _$WeatherStationCopyWith @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherStation&&(identical(other.name, name) || other.name == name)&&(identical(other.county, county) || other.county == county)&&(identical(other.town, town) || other.town == town)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + final _this = this as WeatherStation; + return identical(this, other) || (other.runtimeType == runtimeType&&other is WeatherStation&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.county, _this.county) || other.county == _this.county)&&(identical(other.town, _this.town) || other.town == _this.town)&&(identical(other.altitude, _this.altitude) || other.altitude == _this.altitude)&&(identical(other.latitude, _this.latitude) || other.latitude == _this.latitude)&&(identical(other.longitude, _this.longitude) || other.longitude == _this.longitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,county,town,altitude,latitude,longitude); +int get hashCode { + final _this = this as WeatherStation; + return Object.hash(runtimeType,_this.name,_this.county,_this.town,_this.altitude,_this.latitude,_this.longitude); +} @override String toString() { - return 'WeatherStation(name: $name, county: $county, town: $town, altitude: $altitude, latitude: $latitude, longitude: $longitude)'; + final _this = this as WeatherStation; + return 'WeatherStation(name: ${_this.name}, county: ${_this.county}, town: ${_this.town}, altitude: ${_this.altitude}, latitude: ${_this.latitude}, longitude: ${_this.longitude})'; } @@ -238,16 +243,18 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherStation&&(identical(other.name, name) || other.name == name)&&(identical(other.county, county) || other.county == county)&&(identical(other.town, town) || other.town == town)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherStation&&(identical(other.name, name) || other.name == name)&&(identical(other.county, county) || other.county == county)&&(identical(other.town, town) || other.town == town)&&(identical(other.altitude, altitude) || other.altitude == altitude)&&(identical(other.latitude, latitude) || other.latitude == latitude)&&(identical(other.longitude, longitude) || other.longitude == longitude)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,name,county,town,altitude,latitude,longitude); +int get hashCode { + return Object.hash(runtimeType,name,county,town,altitude,latitude,longitude); +} @override String toString() { - return 'WeatherStation(name: $name, county: $county, town: $town, altitude: $altitude, latitude: $latitude, longitude: $longitude)'; + return 'WeatherStation(name: $name, county: $county, town: $town, altitude: $altitude, latitude: $latitude, longitude: $longitude)'; } diff --git a/lib/features/weather/domain/weather_trend.freezed.dart b/lib/features/weather/domain/weather_trend.freezed.dart index e54b60343..11abcbcb3 100644 --- a/lib/features/weather/domain/weather_trend.freezed.dart +++ b/lib/features/weather/domain/weather_trend.freezed.dart @@ -34,16 +34,21 @@ $WeatherTrendCopyWith get copyWith => _$WeatherTrendCopyWithImpl Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(times),const DeepCollectionEquality().hash(temperature),const DeepCollectionEquality().hash(humidity),const DeepCollectionEquality().hash(pressure),const DeepCollectionEquality().hash(windSpeed),const DeepCollectionEquality().hash(windDirection)); +int get hashCode { + final _this = this as WeatherTrend; + return Object.hash(runtimeType,_this.id,_this.range,const DeepCollectionEquality().hash(_this.times),const DeepCollectionEquality().hash(_this.temperature),const DeepCollectionEquality().hash(_this.humidity),const DeepCollectionEquality().hash(_this.pressure),const DeepCollectionEquality().hash(_this.windSpeed),const DeepCollectionEquality().hash(_this.windDirection)); +} @override String toString() { - return 'WeatherTrend(id: $id, range: $range, times: $times, temperature: $temperature, humidity: $humidity, pressure: $pressure, windSpeed: $windSpeed, windDirection: $windDirection)'; + final _this = this as WeatherTrend; + return 'WeatherTrend(id: ${_this.id}, range: ${_this.range}, times: ${_this.times}, temperature: ${_this.temperature}, humidity: ${_this.humidity}, pressure: ${_this.pressure}, windSpeed: ${_this.windSpeed}, windDirection: ${_this.windDirection})'; } @@ -294,16 +299,18 @@ _$WeatherTrendCopyWith<_WeatherTrend> get copyWith => __$WeatherTrendCopyWithImp @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherTrend&&(identical(other.id, id) || other.id == id)&&(identical(other.range, range) || other.range == range)&&const DeepCollectionEquality().equals(other._times, _times)&&const DeepCollectionEquality().equals(other._temperature, _temperature)&&const DeepCollectionEquality().equals(other._humidity, _humidity)&&const DeepCollectionEquality().equals(other._pressure, _pressure)&&const DeepCollectionEquality().equals(other._windSpeed, _windSpeed)&&const DeepCollectionEquality().equals(other._windDirection, _windDirection)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _WeatherTrend&&(identical(other.id, id) || other.id == id)&&(identical(other.range, range) || other.range == range)&&const DeepCollectionEquality().equals(other.times, _times)&&const DeepCollectionEquality().equals(other.temperature, _temperature)&&const DeepCollectionEquality().equals(other.humidity, _humidity)&&const DeepCollectionEquality().equals(other.pressure, _pressure)&&const DeepCollectionEquality().equals(other.windSpeed, _windSpeed)&&const DeepCollectionEquality().equals(other.windDirection, _windDirection)); } @override -int get hashCode => Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(_times),const DeepCollectionEquality().hash(_temperature),const DeepCollectionEquality().hash(_humidity),const DeepCollectionEquality().hash(_pressure),const DeepCollectionEquality().hash(_windSpeed),const DeepCollectionEquality().hash(_windDirection)); +int get hashCode { + return Object.hash(runtimeType,id,range,const DeepCollectionEquality().hash(_times),const DeepCollectionEquality().hash(_temperature),const DeepCollectionEquality().hash(_humidity),const DeepCollectionEquality().hash(_pressure),const DeepCollectionEquality().hash(_windSpeed),const DeepCollectionEquality().hash(_windDirection)); +} @override String toString() { - return 'WeatherTrend(id: $id, range: $range, times: $times, temperature: $temperature, humidity: $humidity, pressure: $pressure, windSpeed: $windSpeed, windDirection: $windDirection)'; + return 'WeatherTrend(id: $id, range: $range, times: $times, temperature: $temperature, humidity: $humidity, pressure: $pressure, windSpeed: $windSpeed, windDirection: $windDirection)'; }