Skip to content

Commit

Permalink
Review edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman committed Dec 28, 2022
1 parent 93bd0a4 commit b3bbd6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/flutter_tools/test/general.shard/plugins_test.dart
Expand Up @@ -34,7 +34,7 @@ class _PluginPlatformInfo {
this.pluginClass,
this.dartPluginClass,
this.androidPackage,
this.sharedDarwinSource,
this.sharedDarwinSource = false,
this.fileName
}) : assert(pluginClass != null || dartPluginClass != null),
assert(androidPackage == null || pluginClass != null);
Expand All @@ -48,7 +48,7 @@ class _PluginPlatformInfo {
/// The package entry for an Android plugin implementation using pluginClass.
final String? androidPackage;

final bool? sharedDarwinSource;
final bool sharedDarwinSource;

/// The fileName entry for a web plugin implementation.
final String? fileName;
Expand All @@ -64,7 +64,7 @@ class _PluginPlatformInfo {
'${indentation}dartPluginClass: $dartPluginClass',
if (androidPackage != null)
'${indentation}package: $androidPackage',
if (sharedDarwinSource ?? false)
if (sharedDarwinSource)
'${indentation}sharedDarwinSource: true',
if (fileName != null)
'${indentation}fileName: $fileName',
Expand Down

0 comments on commit b3bbd6d

Please sign in to comment.