whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? listTokens()?,
- TResult? tokens()?,
- TResult? listString()?,
- TResult? string(
- String value
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(List<List<int>> value)? listTokens,
TResult? Function(List<int> value)? tokens,
TResult? Function(List<String> value)? listString,
TResult? Function(String value)? string,
}) =>
throw _privateConstructorUsedError;