from static method
Implementation
static DynamicScheme from(
DynamicScheme other,
bool isDark, [
double? contrastLevel,
]) => DynamicScheme(
sourceColorHct: other.sourceColorHct,
variant: other.variant,
isDark: isDark,
contrastLevel: contrastLevel ?? other.contrastLevel,
platform: other.platform,
specVersion: other.specVersion,
primaryPalette: other.primaryPalette,
secondaryPalette: other.secondaryPalette,
tertiaryPalette: other.tertiaryPalette,
neutralPalette: other.neutralPalette,
neutralVariantPalette: other.neutralVariantPalette,
errorPalette: other.errorPalette,
);