when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult empty(),
- required TResult isloading(),
- required TResult multichecklistChanged(),
- required TResult serviceCreate(
- ServiceModel serviceList,
- ServiceModel? selectedService,
- bool loading,
- bool isEditing,
- required TResult serviceSearch(
- List<
ServiceModel> serviceList, - ServiceModel? selectedService,
- bool loading
- List<
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() empty,
required TResult Function() isloading,
required TResult Function(String value, bool submitTriggered)
multichecklistChanged,
required TResult Function(ServiceModel serviceList,
ServiceModel? selectedService, bool loading, bool isEditing)
serviceCreate,
required TResult Function(List<ServiceModel> serviceList,
ServiceModel? selectedService, bool loading)
serviceSearch,
}) =>
throw _privateConstructorUsedError;