idInt property

int idInt

The unique identifier of the entity as an integer.

Implementation

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