enable lint prefer_equal_for_default_values (#18156)
This commit is contained in:
committed by
GitHub
parent
6be81ebf9b
commit
09276bea25
@@ -44,7 +44,7 @@ class TestAssetBundle extends AssetBundle {
|
||||
Future<ByteData> load(String key) => null;
|
||||
|
||||
@override
|
||||
Future<String> loadString(String key, { bool cache: true }) {
|
||||
Future<String> loadString(String key, { bool cache = true }) {
|
||||
if (key == 'lib/gallery/example_code.dart')
|
||||
return new Future<String>.value(testCodeFile);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user