idInt property

int get idInt

The unique identifier of the entity as an integer.

Implementation

int get idInt => int.tryParse(id) ?? 0;