isIntegerType function

bool isIntegerType(
  1. String type
)

Implementation

bool isIntegerType(String type) {
  return type == "int" || type == "int?";
}