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:
dab246
2023-11-10 10:48:05 +07:00
committed by Dat Vu
parent b71328a0e4
commit 6c6e406879
19 changed files with 292 additions and 202 deletions
@@ -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);
}