TF-1708 Update props properties for all state object in interactor
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
This commit is contained in:
@@ -15,11 +15,10 @@ class UploadAttachmentSuccess extends UIState {
|
||||
}
|
||||
|
||||
class UploadAttachmentFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
final bool isInline;
|
||||
|
||||
UploadAttachmentFailure(this.exception, {this.isInline = false});
|
||||
UploadAttachmentFailure(dynamic exception, {this.isInline = false}) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception, isInline];
|
||||
List<Object?> get props => [isInline, ...super.props];
|
||||
}
|
||||
Reference in New Issue
Block a user