getAsInt method
Gets a key
value parsing as int.
def
is the default value if the value is invalid.
Implementation
int? getAsInt(K key, {int? defaultValue, bool ignoreCase = false}) =>
getParsed(key, TypeParser.parseInt,
defaultValue: defaultValue, ignoreCase: ignoreCase);