maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult api(
    1. _Api value
    )?,
  2. TResult unknown(
    1. _Unknown value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_Api value)? api,
  TResult Function(_Unknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;