get method

String? get(
  1. String name
)

Returns the first value associated with the given search parameter.

MDN reference

Implementation

String? get(String name) =>
    _storage.firstWhereOrNull((e) => e.equalsIgnoreCase(name))?.$2;