const constructure
This commit is contained in:
@@ -29,7 +29,7 @@ class OutletRemoteDataProvider {
|
||||
);
|
||||
|
||||
if (response.data['data'] == null) {
|
||||
return DC.error(OutletFailure.empty());
|
||||
return DC.error(const OutletFailure.empty());
|
||||
}
|
||||
|
||||
final outlets = (response.data['data']['outlets'] as List)
|
||||
@@ -51,7 +51,7 @@ class OutletRemoteDataProvider {
|
||||
);
|
||||
|
||||
if (response.data['data'] == null) {
|
||||
return DC.error(OutletFailure.empty());
|
||||
return DC.error(const OutletFailure.empty());
|
||||
}
|
||||
|
||||
final outlet = OutletDto.fromJson(
|
||||
|
||||
Reference in New Issue
Block a user