isPrimitiveType property

bool isPrimitiveType

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

Implementation

bool get isPrimitiveType => _typeWrapper.isPrimitiveType;