isVoid property

bool get isVoid

Whether the declaration represents 'void'.

Implementation

bool get isVoid => baseName == 'void';