throwNullError static method

void throwNullError(
  1. String colorModeStr,
  2. String configStr
)

Implementation

static void throwNullError(String colorModeStr, String configStr) {
  throw FlutterError(
      'When using `ColorMode.$colorModeStr`, `$configStr` must be set.');
}