maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult portrait(
    1. PortraitM value
    )?,
  2. TResult landscape(
    1. _LandscapeM value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(PortraitM value)? portrait,
  TResult Function(_LandscapeM value)? landscape,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;