maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult phone()?,
  2. TResult tablet()?,
  3. TResult desktop()?,
  4. required TResult orElse(),
})
inherited

Implementation

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