firstNamedOrNull method

String? firstNamedOrNull(
  1. String name
)

Implementation

String? firstNamedOrNull(String name) =>
    firstOrNullWhere((it) => it.name == name)?.value;