isOfType method
- CommonOverlayId overlayId
Check whether this item belongs to the specified predefined overlay type.
Parameters
overlayId: One of the values from CommonOverlayId.
Returns
- True when the item's
overlayUidmatchesoverlayId.id.
Implementation
bool isOfType(CommonOverlayId overlayId) {
return overlayUid == overlayId.id;
}