Use type promotion instead of access through a map (#122178)

Use variable instead of multiple accesses through a map
This commit is contained in:
Jonas Uekötter
2023-03-08 21:35:50 +01:00
committed by GitHub
parent a5ed960d0b
commit b9e925ab24

View File

@@ -193,7 +193,7 @@ class Plugin {
if (androidPackage != null) {
platforms[AndroidPlugin.kConfigKey] = AndroidPlugin(
name: name,
package: pluginYaml['androidPackage'] as String,
package: androidPackage,
pluginClass: pluginClass,
pluginPath: path,
fileSystem: fileSystem,