ParamParser<T>.withFunction constructor

const ParamParser<T>.withFunction({
  1. required String key,
  2. required ValueParser parser,
})

Creates a user define ParamParser

Implementation

const factory ParamParser.withFunction({
  required String key,
  required ValueParser parser,
}) = _CustomParamParser;