contentOf method
Implementation
Color contentOf(ColorScheme colorScheme) => switch (this) {
info => colorScheme.onSurface,
success => colorScheme.onSuccessContainer,
warning => colorScheme.onWarningContainer,
error => colorScheme.onErrorContainer,
};