tryGet method
V?
tryGet(
- K key
Returns the value of key
or null if the key
doesn't exist.
Implementation
V? tryGet(K key) => containsKey(key) ? this[key] : null;
Returns the value of key
or null if the key
doesn't exist.
V? tryGet(K key) => containsKey(key) ? this[key] : null;