propertyAsInt method

int? propertyAsInt(
  1. String key, [
  2. int? def
])

Implementation

int? propertyAsInt(String key, [int? def]) =>
    property<int>(key, def, TypeParser.parseInt);