opt method

dynamic opt(
  1. String name
)

Returns the value mapped by {@code name}, or null if no such mapping exists.

Implementation

dynamic opt(String name) => (this != null) ? this![name] : null;