tryGetInt method

int? tryGetInt(
  1. String key
)

Implementation

int? tryGetInt(String key) =>
    containsKey(key) ? getInt(key) : null;