module property

String get module

Implementation

String get module {
  int index = location.lastIndexOf('/');
  return index == -1 ? location : location.substring(0, index);
}