run code format

This commit is contained in:
Lorenzo Pichilli 2023-05-15 14:46:00 +02:00
parent 84011566bf
commit 2c26f988e9
2 changed files with 8 additions and 11 deletions

View File

@ -33,15 +33,12 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; int? expiresDate;
///Indicates if the cookie is a session only cookie. ///Indicates if the cookie is a session only cookie.
@SupportedPlatforms(platforms: [ @SupportedPlatforms(platforms: [IOSPlatform(), MacOSPlatform()])
IOSPlatform(),
MacOSPlatform()
])
bool? isSessionOnly; bool? isSessionOnly;
///The cookie domain. ///The cookie domain.
@ -50,7 +47,7 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; String? domain;
@ -60,7 +57,7 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; HTTPCookieSameSitePolicy_? sameSite;
@ -70,7 +67,7 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; bool? isSecure;
@ -80,7 +77,7 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; bool? isHttpOnly;
@ -90,7 +87,7 @@ class Cookie_ {
MacOSPlatform(), MacOSPlatform(),
AndroidPlatform( AndroidPlatform(
note: 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; String? path;

View File

@ -12,7 +12,7 @@
"watch": "flutter pub run build_runner watch --delete-conflicting-outputs", "watch": "flutter pub run build_runner watch --delete-conflicting-outputs",
"publish:dry": "npm run build && flutter pub publish --dry-run", "publish:dry": "npm run build && flutter pub publish --dry-run",
"publish": "npm run build && flutter pub publish", "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: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" "docs:serve": "flutter pub global activate dhttpd && flutter pub global run dhttpd:dhttpd --path doc/api"
}, },