getInt static method

int? getInt(
  1. Object? value, [
  2. int? defaultValue
])

Convert the value to an integer, if value is None, return the default value.

Implementation

static int? getInt(Object? value, [int? defaultValue]) =>
    converter.getInt(value, defaultValue);