checkInt property

int get checkInt

Implementation

int get checkInt => (this != null)
    ? (this is int)
        ? this
        : (this is double)
            ? this.toInt()
            : (this is String)
                ? int.parse(this)
                : 0
    : 0;