isPrimitiveType function

dynamic isPrimitiveType(
  1. String typeName
)

Implementation

isPrimitiveType(String typeName) {
  final isPrimitive = PRIMITIVE_TYPES[typeName];
  if (isPrimitive == null) {
    return false;
  }
  return isPrimitive;
}