isNumericType property

bool isNumericType

Returns true if type is int, double, num or BigInt. See isNumberType and isBigInt

Implementation

bool get isNumericType => isNumberType || isBigInt;