intValue property

int? get intValue

获取可选int,类型匹配才有值

Implementation

int? get intValue => numValue?.toInt();