when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult drawing(
- Sketch sketch,
- SketchLine? activeLine,
- ScribblePointerMode allowedPointersMode,
- List<
int> activePointerIds, - Point? pointerPosition,
- int selectedColor,
- double selectedWidth,
- double scaleFactor,
- double simplificationTolerance,
- required TResult erasing(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
Sketch sketch,
SketchLine? activeLine,
ScribblePointerMode allowedPointersMode,
List<int> activePointerIds,
Point? pointerPosition,
int selectedColor,
double selectedWidth,
double scaleFactor,
double simplificationTolerance)
drawing,
required TResult Function(
Sketch sketch,
ScribblePointerMode allowedPointersMode,
List<int> activePointerIds,
Point? pointerPosition,
double selectedWidth,
double scaleFactor,
double simplificationTolerance)
erasing,
}) =>
throw _privateConstructorUsedError;