parameterNamed method

APIParameter? parameterNamed(
  1. String name
)

Returns the parameter named name or null if it doesn't exist.

Implementation

APIParameter? parameterNamed(String name) =>
    parameters?.firstWhere((p) => p?.name == name, orElse: () => null);