Remove unnecessary null checks in dev/tools (#118845)

This commit is contained in:
Michael Goderbauer
2023-01-19 20:06:09 -08:00
committed by GitHub
parent 98c18ca93f
commit 99b5262b21
7 changed files with 9 additions and 31 deletions

View File

@@ -71,12 +71,8 @@ String generateArbBasedLocalizationSubclasses({
required String supportedLanguagesConstant,
required String supportedLanguagesDocMacro,
}) {
assert(localeToResources != null);
assert(localeToResourceAttributes != null);
assert(generatedClassPrefix.isNotEmpty);
assert(baseClass.isNotEmpty);
assert(generateHeader != null);
assert(generateConstructor != null);
assert(factoryName.isNotEmpty);
assert(factoryDeclaration.isNotEmpty);
assert(factoryArguments.isNotEmpty);