findPropertyAsInt method

int? findPropertyAsInt(
  1. List<String> keys, [
  2. int? def
])

Finds a property with keys. Returns the value as int.

def The default value if keys not found.

Implementation

int? findPropertyAsInt(List<String> keys, [int? def]) =>
    findPropertyAs(keys, parseInt, def);