diff --git a/lib/src/types/cookie.dart b/lib/src/types/cookie.dart index c267d4f1..78883832 100644 --- a/lib/src/types/cookie.dart +++ b/lib/src/types/cookie.dart @@ -33,15 +33,12 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) int? expiresDate; ///Indicates if the cookie is a session only cookie. - @SupportedPlatforms(platforms: [ - IOSPlatform(), - MacOSPlatform() - ]) + @SupportedPlatforms(platforms: [IOSPlatform(), MacOSPlatform()]) bool? isSessionOnly; ///The cookie domain. @@ -50,7 +47,7 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) String? domain; @@ -60,7 +57,7 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) HTTPCookieSameSitePolicy_? sameSite; @@ -70,7 +67,7 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) bool? isSecure; @@ -80,7 +77,7 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) bool? isHttpOnly; @@ -90,7 +87,7 @@ class Cookie_ { MacOSPlatform(), AndroidPlatform( note: - "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") + "available on Android only if [WebViewFeature.GET_COOKIE_INFO] feature is supported.") ]) String? path; diff --git a/package.json b/package.json index bdc2864d..cd60e68d 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "watch": "flutter pub run build_runner watch --delete-conflicting-outputs", "publish:dry": "npm run build && flutter pub publish --dry-run", "publish": "npm run build && flutter pub publish", - "format": "flutter format lib example/integration_test", + "format": "dart format lib example/integration_test", "docs:gen": "flutter pub global activate dartdoc && flutter pub global run dartdoc:dartdoc", "docs:serve": "flutter pub global activate dhttpd && flutter pub global run dhttpd:dhttpd --path doc/api" },