getIntValue method

int getIntValue(
  1. String fieldNameOrPath, [
  2. int? defaultValue
])

An alias for get<int>().

Implementation

int getIntValue(String fieldNameOrPath, [int? defaultValue]) {
  return get<int>(fieldNameOrPath, defaultValue);
}