implicit-casts:false in dev (#45787)
This commit is contained in:
committed by
GitHub
parent
fa0c49d775
commit
ec1a015045
@@ -138,11 +138,10 @@ class CommandArgs {
|
||||
bool operator==(Object other) {
|
||||
if (other.runtimeType != CommandArgs)
|
||||
return false;
|
||||
|
||||
final CommandArgs otherCmd = other;
|
||||
return otherCmd.command == command &&
|
||||
const ListEquality<String>().equals(otherCmd.arguments, arguments) &&
|
||||
const MapEquality<String, String>().equals(otherCmd.environment, environment);
|
||||
return other is CommandArgs
|
||||
&& other.command == command
|
||||
&& const ListEquality<String>().equals(other.arguments, arguments)
|
||||
&& const MapEquality<String, String>().equals(other.environment, environment);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user