isScalar property

bool get isScalar

Whether this field uses a known scalar type.

Implementation

bool get isScalar => kScalarTypes.contains(type);