isEnum property Null safety

bool isEnum

Implementation

bool get isEnum => _isEnum(type);