get abstract method

dynamic get(
  1. dynamic key, {
  2. dynamic 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

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