Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 1e03adf

Browse files
committed
Fix format
1 parent f34a78d commit 1e03adf

File tree

2 files changed

+28
-29
lines changed

2 files changed

+28
-29
lines changed

packages/google_sign_in/google_sign_in_web/lib/src/js_interop/gapi.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ typedef LoadCallback = void Function(
3030
abstract class LoadConfig {
3131
external factory LoadConfig(
3232
{LoadCallback callback,
33-
Function? onerror,
34-
num? timeout,
35-
Function? ontimeout});
33+
Function? onerror,
34+
num? timeout,
35+
Function? ontimeout});
3636
external LoadCallback get callback;
3737
external set callback(LoadCallback v);
3838
external Function? get onerror;

packages/google_sign_in/google_sign_in_web/lib/src/js_interop/gapiauth2.dart

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ abstract class CurrentUser {
126126
abstract class SigninOptions {
127127
external factory SigninOptions(
128128
{String app_package_name,
129-
bool fetch_basic_profile,
130-
String prompt,
131-
String scope,
132-
String /*'popup'|'redirect'*/ ux_mode,
133-
String redirect_uri,
134-
String login_hint});
129+
bool fetch_basic_profile,
130+
String prompt,
131+
String scope,
132+
String /*'popup'|'redirect'*/ ux_mode,
133+
String redirect_uri,
134+
String login_hint});
135135

136136
/// The package name of the Android app to install over the air.
137137
/// See Android app installs from your web site:
@@ -183,8 +183,8 @@ abstract class SigninOptions {
183183
abstract class OfflineAccessOptions {
184184
external factory OfflineAccessOptions(
185185
{String scope,
186-
String /*'select_account'|'consent'*/ prompt,
187-
String app_package_name});
186+
String /*'select_account'|'consent'*/ prompt,
187+
String app_package_name});
188188
external String? get scope;
189189
external set scope(String? v);
190190
external String? /*'select_account'|'consent'*/ get prompt;
@@ -278,7 +278,6 @@ abstract class BasicProfile {
278278
@anonymous
279279
@JS()
280280
abstract class AuthResponse {
281-
282281
external String? get access_token;
283282
external set access_token(String? v);
284283
external String? get id_token;
@@ -301,15 +300,15 @@ abstract class AuthResponse {
301300
abstract class AuthorizeConfig {
302301
external factory AuthorizeConfig(
303302
{String client_id,
304-
String scope,
305-
String response_type,
306-
String prompt,
307-
String cookie_policy,
308-
String hosted_domain,
309-
String login_hint,
310-
String app_package_name,
311-
String openid_realm,
312-
bool include_granted_scopes});
303+
String scope,
304+
String response_type,
305+
String prompt,
306+
String cookie_policy,
307+
String hosted_domain,
308+
String login_hint,
309+
String app_package_name,
310+
String openid_realm,
311+
bool include_granted_scopes});
313312
external String get client_id;
314313
external set client_id(String v);
315314
external String get scope;
@@ -338,14 +337,14 @@ abstract class AuthorizeConfig {
338337
abstract class AuthorizeResponse {
339338
external factory AuthorizeResponse(
340339
{String access_token,
341-
String id_token,
342-
String code,
343-
String scope,
344-
num expires_in,
345-
num first_issued_at,
346-
num expires_at,
347-
String error,
348-
String error_subtype});
340+
String id_token,
341+
String code,
342+
String scope,
343+
num expires_in,
344+
num first_issued_at,
345+
num expires_at,
346+
String error,
347+
String error_subtype});
349348
external String get access_token;
350349
external set access_token(String v);
351350
external String get id_token;

0 commit comments

Comments
 (0)