when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult create(
- ServiceModel serviceModel
- required TResult search(
- ServiceSearchModel serviceSearchModel
- required TResult multichecklistChanged(),
- required TResult selectService(
- ServiceModel service
- required TResult resetSelected(
- List<
ServiceModel> serviceList
- List<
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ServiceModel serviceModel) create,
required TResult Function(ServiceSearchModel serviceSearchModel) search,
required TResult Function(String value, bool submitTriggered)
multichecklistChanged,
required TResult Function(ServiceModel service) selectService,
required TResult Function(List<ServiceModel> serviceList) resetSelected,
}) =>
throw _privateConstructorUsedError;