toInt method

int toInt()

Implementation

int toInt() => switch (this) {
    EntryType.file => 1,
    EntryType.directory => 2,
  };