get method

  1. @override
dynamic get(
  1. String key, {
  2. dynamic defaultValue,
})
override

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

@override
get(String key, {dynamic defaultValue}) {
  return _box.get(key, defaultValue: defaultValue);
}