getConstructorByNameOrNull method

ConstructorElement? getConstructorByNameOrNull(
  1. String constructorName
)

Implementation

ConstructorElement? getConstructorByNameOrNull(String constructorName) =>
    constructors.where((c) => c.name == constructorName).firstOrNull;