integer property

int? integer

Optional int

Implementation

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