value<T> static method

ParseParamResult value<T>(
  1. String key,
  2. T value
)

ParseResult representing a successful match that injects a parameter into the ParseContext that can be queried with ParseContext.operator[].

Implementation

static ParseParamResult value<T>(String key, T value) =>
    _ParseSuccessWithParams(key, value);