maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult transparent(
    1. Color color
    )?,
  2. TResult circle(
    1. Color color
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(@ColorSerialiser() Color color)? transparent,
  TResult Function(@ColorSerialiser() Color color)? circle,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;