Skip to content

Commit b9e925a

Browse files
authored
Use type promotion instead of access through a map (#122178)
Use variable instead of multiple accesses through a map
1 parent a5ed960 commit b9e925a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/flutter_tools/lib/src/plugins.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class Plugin {
193193
if (androidPackage != null) {
194194
platforms[AndroidPlugin.kConfigKey] = AndroidPlugin(
195195
name: name,
196-
package: pluginYaml['androidPackage'] as String,
196+
package: androidPackage,
197197
pluginClass: pluginClass,
198198
pluginPath: path,
199199
fileSystem: fileSystem,

0 commit comments

Comments
 (0)