TF-2271 Add dnsLookupToGetJmapUrl method in login repository/datasource
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit eb311420d9f7869af07605064a4e8d442486896a)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class DNSLookupToGetJmapUrlLoading extends LoadingState {}
|
||||
|
||||
class DNSLookupToGetJmapUrlSuccess extends UIState {
|
||||
final String jmapUrl;
|
||||
|
||||
DNSLookupToGetJmapUrlSuccess(this.jmapUrl);
|
||||
|
||||
@override
|
||||
List<Object> get props => [jmapUrl];
|
||||
}
|
||||
|
||||
class DNSLookupToGetJmapUrlFailure extends FeatureFailure {
|
||||
|
||||
DNSLookupToGetJmapUrlFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user