from

fun from(other: DynamicScheme, isDark: Boolean): DynamicScheme

Returns a new DynamicScheme instance with the same properties as the given scheme, but with the given dark mode setting.