maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult fetch()?,
  2. TResult selectServiceDefinition(
    1. String serviceDefinitionCode
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? fetch,
  TResult Function(String serviceDefinitionCode)? selectServiceDefinition,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;