TIF_E41202535/lib/presentation/bloc/classification/classification_state.dart

29 lines
807 B
Dart

import 'dart:io';
abstract class ClassificationState {}
class InitClassificationState extends ClassificationState {}
class ShowLoading extends ClassificationState {}
class ShowIdle extends ClassificationState {}
class ShowSuccessClassification extends ClassificationState {
final String data, assumption, classificationType, cancerType, glcmType, pattern, feature, time, akurasi;
File image;
ShowSuccessClassification(
{required this.data,
required this.pattern,
required this.feature,
required this.time,
required this.akurasi,
required this.assumption,
required this.image,
required this.classificationType,
required this.glcmType,
required this.cancerType});
}
class ShowFailedClassification extends ClassificationState {}