isPrimitiveType property

bool get isPrimitiveType

Returns true if type is primitive (bool, int, double, num or String).

Implementation

bool get isPrimitiveType => _typeWrapper.isPrimitiveType;