mapOrNull<TResult extends Object?> method

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

Implementation

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