getOrNull method

V? getOrNull(
  1. K key
)

Returns the value key or null if it not exist.

Implementation

V? getOrNull(K key) => this[key];