idInt property

int get idInt
inherited

The unique identifier of the entity as an integer

Implementation

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