isEntityIDPrimitiveType property

bool isEntityIDPrimitiveType

Returns true if this object is an int or String.

Implementation

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