dynamicToInt static method

int? dynamicToInt(
  1. dynamic value
)

Implementation

static int? dynamicToInt(dynamic value) {
  return dynamicToDouble(value)?.toInt();
}