style: dart format fix
This commit was merged in pull request #176.
This commit is contained in:
@@ -91,12 +91,10 @@ class FetchSignInMethodsForEmailFailureMock
|
||||
}
|
||||
|
||||
/// {@macro sign_in_anonymously_failure}
|
||||
class SignInAnonymouslyFailureMock
|
||||
extends SignInAnonymouslyFailureInterface {
|
||||
class SignInAnonymouslyFailureMock extends SignInAnonymouslyFailureInterface {
|
||||
SignInAnonymouslyFailureMock([String? code, String? msg])
|
||||
: super(code ?? 'unknown', msg ?? 'An unknown error occurred.');
|
||||
SignInAnonymouslyFailureMock.fromCode(String code)
|
||||
: super.fromCode(code) {
|
||||
SignInAnonymouslyFailureMock.fromCode(String code) : super.fromCode(code) {
|
||||
switch (code) {
|
||||
case 'operation-not-allowed':
|
||||
msg = 'Operation is not allowed. Please contact support.';
|
||||
@@ -113,8 +111,7 @@ class SignInWithCredentialFailureMock
|
||||
extends SignInWithCredentialFailureInterface {
|
||||
SignInWithCredentialFailureMock([String? code, String? msg])
|
||||
: super(code ?? 'unknown', msg ?? 'An unknown error occurred.');
|
||||
SignInWithCredentialFailureMock.fromCode(String code)
|
||||
: super.fromCode(code) {
|
||||
SignInWithCredentialFailureMock.fromCode(String code) : super.fromCode(code) {
|
||||
switch (code) {
|
||||
case 'account-exists-with-different-credential':
|
||||
msg = 'Account exists with different credentials.';
|
||||
@@ -148,16 +145,14 @@ class SignInWithCredentialFailureMock
|
||||
}
|
||||
|
||||
/// {@macro sign_in_with_google_failure}
|
||||
class SignInWithGoogleFailureMock
|
||||
extends SignInWithCredentialFailureMock
|
||||
class SignInWithGoogleFailureMock extends SignInWithCredentialFailureMock
|
||||
implements SignInWithGoogleFailureInterface {
|
||||
SignInWithGoogleFailureMock([super.code, super.msg]);
|
||||
SignInWithGoogleFailureMock.fromCode(super.code) : super.fromCode();
|
||||
}
|
||||
|
||||
/// {@macro sign_in_with_facebook_failure}
|
||||
class SignInWithFacebookFailureMock
|
||||
extends SignInWithCredentialFailureMock
|
||||
class SignInWithFacebookFailureMock extends SignInWithCredentialFailureMock
|
||||
implements SignInWithFacebookFailureInterface {
|
||||
SignInWithFacebookFailureMock([super.code, super.msg]);
|
||||
SignInWithFacebookFailureMock.fromCode(super.code) : super.fromCode();
|
||||
@@ -171,8 +166,7 @@ class SignInWithAppleFailureMock extends SignInWithCredentialFailureMock
|
||||
}
|
||||
|
||||
/// {@macro sign_in_with_twitter_failure}
|
||||
class SignInWithTwitterFailureMock
|
||||
extends SignInWithCredentialFailureMock
|
||||
class SignInWithTwitterFailureMock extends SignInWithCredentialFailureMock
|
||||
implements SignInWithAppleFailureInterface {
|
||||
SignInWithTwitterFailureMock([super.code, super.msg]);
|
||||
SignInWithTwitterFailureMock.fromCode(super.code) : super.fromCode();
|
||||
@@ -183,8 +177,7 @@ class SignInWithEmailLinkFailureMock
|
||||
extends SignInWithEmailLinkFailureInterface {
|
||||
SignInWithEmailLinkFailureMock([String? code, String? msg])
|
||||
: super(code ?? 'unknown', msg ?? 'An unknown error occurred.');
|
||||
SignInWithEmailLinkFailureMock.fromCode(String code)
|
||||
: super.fromCode(code) {
|
||||
SignInWithEmailLinkFailureMock.fromCode(String code) : super.fromCode(code) {
|
||||
switch (code) {
|
||||
case 'expired-action-code':
|
||||
msg = 'Action code has expired.';
|
||||
@@ -270,8 +263,7 @@ class VerifyPasswordResetCodeFailureMock
|
||||
VerifyPasswordResetCodeFailureMock([String? code, String? msg])
|
||||
: super(code ?? 'unknown', msg ?? 'An unknown error occurred.');
|
||||
|
||||
VerifyPasswordResetCodeFailureMock.fromCode(super.code)
|
||||
: super.fromCode();
|
||||
VerifyPasswordResetCodeFailureMock.fromCode(super.code) : super.fromCode();
|
||||
}
|
||||
|
||||
/// {@macro refresh_failure}
|
||||
|
||||
Reference in New Issue
Block a user