isEntityIDPrimitiveType property

bool isEntityIDPrimitiveType

Returns true if this Type is an int or String.

Implementation

bool get isEntityIDPrimitiveType {
  var self = this;
  return self == int || self == String;
}