enum VoidType { all, item, unknown }

extension VoidTypeX on VoidType {
  String toStringType() => switch (this) {
    VoidType.all => 'ALL',
    VoidType.item => 'ITEM',
    VoidType.unknown => 'unknown',
  };

  bool get isAll => this == VoidType.all;
  bool get isItem => this == VoidType.item;
}
