get method
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);
}