maybeMap<TResult extends Object?> method

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

Implementation

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