getParametersByNames method

List<ParameterReflection> getParametersByNames(
  1. Iterable<String> names, {
  2. bool jsonName = false,
})

Returns allParameters in names list.

Implementation

List<ParameterReflection> getParametersByNames(Iterable<String> names,
        {bool jsonName = false}) =>
    allParameters
        .where((p) => names.contains(p.resolveName(jsonName)))
        .toList();