isId property

bool get isId

Whether the field declares @id.

Implementation

bool get isId => attribute('id') != null;