map<TResult extends Object?> method

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

Implementation

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