maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult boolean(
- ULexPrimitiveBoolean value
- TResult integer(
- ULexPrimitiveInteger value
- TResult string(
- ULexPrimitiveString value
- TResult unknown(
- ULexPrimitiveUnknown value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ULexPrimitiveBoolean value)? boolean,
TResult Function(ULexPrimitiveInteger value)? integer,
TResult Function(ULexPrimitiveString value)? string,
TResult Function(ULexPrimitiveUnknown value)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;