Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6a443138
Unverified
Commit
6a443138
authored
Apr 28, 2022
by
Phil Quitslund
Committed by
GitHub
Apr 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix `unnecessary_null_checks` (#102705)
parent
b1f88a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
platform_plugins.dart
packages/flutter_tools/lib/src/platform_plugins.dart
+6
-6
No files found.
packages/flutter_tools/lib/src/platform_plugins.dart
View file @
6a443138
...
...
@@ -449,11 +449,11 @@ class WindowsPlugin extends PluginPlatform
Map
<
String
,
dynamic
>
toMap
()
{
return
<
String
,
dynamic
>{
'name'
:
name
,
if
(
pluginClass
!=
null
)
'class'
:
pluginClass
!
,
if
(
pluginClass
!=
null
)
'class'
:
pluginClass
,
if
(
pluginClass
!=
null
)
'filename'
:
_filenameForCppClass
(
pluginClass
!),
if
(
dartPluginClass
!=
null
)
kDartPluginClass:
dartPluginClass
!
,
if
(
dartPluginClass
!=
null
)
kDartPluginClass:
dartPluginClass
,
if
(
ffiPlugin
)
kFfiPlugin:
true
,
if
(
defaultPackage
!=
null
)
kDefaultPackage:
defaultPackage
!
,
if
(
defaultPackage
!=
null
)
kDefaultPackage:
defaultPackage
,
};
}
}
...
...
@@ -519,11 +519,11 @@ class LinuxPlugin extends PluginPlatform implements NativeOrDartPlugin {
Map
<
String
,
dynamic
>
toMap
()
{
return
<
String
,
dynamic
>{
'name'
:
name
,
if
(
pluginClass
!=
null
)
'class'
:
pluginClass
!
,
if
(
pluginClass
!=
null
)
'class'
:
pluginClass
,
if
(
pluginClass
!=
null
)
'filename'
:
_filenameForCppClass
(
pluginClass
!),
if
(
dartPluginClass
!=
null
)
kDartPluginClass:
dartPluginClass
!
,
if
(
dartPluginClass
!=
null
)
kDartPluginClass:
dartPluginClass
,
if
(
ffiPlugin
)
kFfiPlugin:
true
,
if
(
defaultPackage
!=
null
)
kDefaultPackage:
defaultPackage
!
,
if
(
defaultPackage
!=
null
)
kDefaultPackage:
defaultPackage
,
};
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment