firstValueWhere method

V? firstValueWhere(
  1. bool test(
    1. K
    )
)

Implementation

V? firstValueWhere(bool Function(K) test) => valuesWhere(test).firstOrNull;