isPriority property

bool get isPriority

Whether this is a priority source (preload on startup).

Implementation

bool get isPriority {
  return this == MapSource.openStreetMap || this == MapSource.cartoDarkMatter;
}