format operator== according to flutter style guide (#48449)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
23ce192a8f
commit
82262d8896
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user