whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? primitiveArray(
    1. LexPrimitiveArray data
    )?,
  2. TResult? primitive(
    1. LexPrimitive data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(LexPrimitiveArray data)? primitiveArray,
  TResult? Function(LexPrimitive data)? primitive,
}) =>
    throw _privateConstructorUsedError;