Skip to content

Commit

Permalink
run code format
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed May 15, 2023
1 parent 8401156 commit 2c26f98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions lib/src/types/cookie.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 2c26f98

Please sign in to comment.