maybeWhen<TResult extends Object?> method

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

Implementation

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