isDarkSource property

bool get isDarkSource

Whether this is a dark/night-optimized map source. Dark sources don't need color matrix filter in dark mode.

Implementation

bool get isDarkSource {
  return this == MapSource.cartoDarkMatter;
}