maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult listTokens()?,
- TResult tokens()?,
- TResult listString()?,
- TResult string(
- String value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;