checkOrUpdateSeoThemeCss function

void checkOrUpdateSeoThemeCss(
  1. String css, {
  2. String path = 'lib/seo_theme.g.dart',
  3. String variable = 'seoThemeCss',
  4. bool? update,
})

See theme_guard.dart — this platform cannot run the guard.

Implementation

void checkOrUpdateSeoThemeCss(
  String css, {
  String path = 'lib/seo_theme.g.dart',
  String variable = 'seoThemeCss',
  bool? update,
}) {
  throw UnsupportedError(
    'checkOrUpdateSeoThemeCss reads and writes the generated file, which '
    'needs dart:io — run this test on the host VM (the default), not with '
    '--platform chrome.',
  );
}