
import 'package:core/core.dart';
import 'package:model/model.dart';

class LocalFilePickerSuccess extends UIState {
  final List<FileInfo> pickedFiles;

  LocalFilePickerSuccess(this.pickedFiles);

  @override
  List<Object> get props => [pickedFiles];
}

class LocalFilePickerFailure extends FeatureFailure {
  final dynamic exception;

  LocalFilePickerFailure(this.exception);

  @override
  List<Object?> get props => [exception];
}

class LocalFilePickerCancel extends FeatureFailure {
  @override
  List<Object> get props => [];
}