isDarkSource property
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;
}
Whether this is a dark/night-optimized map source. Dark sources don't need color matrix filter in dark mode.
bool get isDarkSource {
return this == MapSource.cartoDarkMatter;
}