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