Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Oct 29, 2023
1 parent 60ffb62 commit 6d5cb43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions auth_browser/lib/src/auth_browser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AuthCredentialImpl implements AuthCredential {
}

class UserImpl extends UserInfoBrowser implements User {
UserImpl(native.User nativeUser) : super(nativeUser);
UserImpl(super.nativeUser);

@override
bool get emailVerified => nativeUser.emailVerified;
Expand Down Expand Up @@ -253,7 +253,7 @@ class UserInfoBrowser implements UserInfo, UserInfoWithIdToken {
}

class UserBrowser extends UserInfoBrowser implements User {
UserBrowser(native.User nativeUser) : super(nativeUser);
UserBrowser(super.nativeUser);

@override
bool get emailVerified => nativeUser.emailVerified;
Expand Down
2 changes: 1 addition & 1 deletion auth_jwt/lib/src/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'package:tekartik_firebase_auth_jwt/src/import.dart';

//
class UnauthorizedDatabaseAuthException extends DatabaseAuthException {
UnauthorizedDatabaseAuthException(String message) : super(message);
UnauthorizedDatabaseAuthException(super.message);

@override
String toString() => 'UnauthorizedDatabaseAuthException($message)';
Expand Down
2 changes: 1 addition & 1 deletion auth_local/lib/src/auth_local.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class UserInfoLocal implements UserInfo, UserInfoWithIdToken {
}

class UserLocal extends UserInfoLocal implements User {
UserLocal({required String uid}) : super(uid: uid);
UserLocal({required super.uid});

@override
bool get emailVerified => true;
Expand Down
5 changes: 2 additions & 3 deletions auth_rest/lib/src/auth_rest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ class UserRest extends UserInfoRest implements User {

UserRest(
{required this.emailVerified,
required String uid,
required AuthProviderRest? provider})
: super(uid: uid, provider: provider);
required super.uid,
required super.provider});

@override
bool get isAnonymous => false;
Expand Down

0 comments on commit 6d5cb43

Please sign in to comment.