get abstract method

E? get(
  1. dynamic key, {
  2. E? defaultValue,
})

Returns the value associated with the given key. If the key does not exist, null is returned.

If defaultValue is specified, it is returned in case the key does not exist.

Implementation

E? get(dynamic key, {E? defaultValue});