integer property

int? get integer

Optional int

Implementation

int? get integer => number?.toInt();