forked from firka/flutter
Remove unnecessary null checks in dev/tools (#118845)
This commit is contained in:
committed by
GitHub
parent
98c18ca93f
commit
99b5262b21
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user