getOrNull method

V? getOrNull(
  1. K key
)

Implementation

V? getOrNull(K key) => this?.containsKey(key) == true ? this![key] : null;