idProperty property

ModelProperty get idProperty

Implementation

ModelProperty get idProperty {
  _idProperty ??= _properties.singleWhere(
      (ModelProperty prop) => prop.hasFlag(OBXPropertyFlags.ID),
      orElse: (() => throw StateError('idProperty is null')));
  return _idProperty!;
}