isBuiltInType function

bool isBuiltInType(
  1. String type
)

Implementation

bool isBuiltInType(String type) {
  return ['int', 'num', 'string', 'double', 'map', 'list'].contains(type);
}