format operator== according to flutter style guide (#48449)

This commit is contained in:
Alexandre Ardhuin
2020-01-09 17:23:02 +01:00
committed by Flutter GitHub Bot
parent 23ce192a8f
commit 82262d8896
84 changed files with 196 additions and 197 deletions

View File

@@ -19,10 +19,10 @@ class RunningProcessInfo {
@override
bool operator ==(Object other) {
return other is RunningProcessInfo &&
other.pid == pid &&
other.commandLine == commandLine &&
other.creationDate == creationDate;
return other is RunningProcessInfo
&& other.pid == pid
&& other.commandLine == commandLine
&& other.creationDate == creationDate;
}
@override

View File

@@ -268,7 +268,7 @@ class FrameData {
@override
bool operator ==(Object other) {
if (runtimeType != other.runtimeType)
if (other.runtimeType != runtimeType)
return false;
return other is FrameData
&& other.size == size
@@ -320,7 +320,7 @@ class SvgPath {
@override
bool operator ==(Object other) {
if (runtimeType != other.runtimeType)
if (other.runtimeType != runtimeType)
return false;
return other is SvgPath
&& other.id == id
@@ -369,7 +369,7 @@ class SvgPathCommand {
@override
bool operator ==(Object other) {
if (runtimeType != other.runtimeType)
if (other.runtimeType != runtimeType)
return false;
return other is SvgPathCommand
&& other.type == type