maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult drawing(
    1. Drawing value
    )?,
  2. TResult erasing(
    1. Erasing value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(Drawing value)? drawing,
  TResult Function(Erasing value)? erasing,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;