getOptInt method

int? getOptInt(
  1. String key
)

Implementation

int? getOptInt(String key) => this[key] != null ? this[key] as int : null;