maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult singleValueObject()?,
  2. TResult multiValueObject()?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? singleValueObject,
  TResult Function()? multiValueObject,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;