TF-1289: [Presentation] Refactor name function
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class GetDeviceIdLoading extends UIState {}
|
||||
|
||||
class GetDeviceIdSuccess extends UIState {
|
||||
|
||||
final String deviceId;
|
||||
|
||||
GetDeviceIdSuccess(this.deviceId);
|
||||
|
||||
@override
|
||||
List<Object> get props => [deviceId];
|
||||
}
|
||||
|
||||
class GetDeviceIdFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
|
||||
GetDeviceIdFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class StoreDeviceIdLoading extends UIState {}
|
||||
|
||||
class StoreDeviceIdSuccess extends UIState {
|
||||
|
||||
StoreDeviceIdSuccess();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class StoreDeviceIdFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
|
||||
StoreDeviceIdFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user