TF-528 Apply linter for some widget
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
abstract class AuthenticationException extends Equatable {
|
||||
static final wrongCredential = 'Credential is wrong';
|
||||
static const wrongCredential = 'Credential is wrong';
|
||||
|
||||
AuthenticationException(String message);
|
||||
const AuthenticationException(String message);
|
||||
}
|
||||
|
||||
class BadCredentials extends AuthenticationException {
|
||||
BadCredentials() : super(AuthenticationException.wrongCredential);
|
||||
const BadCredentials() : super(AuthenticationException.wrongCredential);
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
|
||||
Reference in New Issue
Block a user