maybeWhen<TResult extends Object?> method

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

Implementation

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