when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult listTokens(
    1. List<List<int>> value
    ),
  2. required TResult tokens(
    1. List<int> value
    ),
  3. required TResult listString(
    1. List<String> value
    ),
  4. required TResult string(
    1. String value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(List<List<int>> value) listTokens,
  required TResult Function(List<int> value) tokens,
  required TResult Function(List<String> value) listString,
  required TResult Function(String value) string,
}) =>
    throw _privateConstructorUsedError;