implicit-casts:false in dev (#45787)

This commit is contained in:
Alexandre Ardhuin
2019-12-05 22:34:06 +01:00
committed by GitHub
parent fa0c49d775
commit ec1a015045
68 changed files with 411 additions and 396 deletions

View File

@@ -196,8 +196,8 @@ class AndroidSemanticsAction {
bool operator ==(Object other) {
if (other.runtimeType != runtimeType)
return false;
final AndroidSemanticsAction typedOther = other;
return id == typedOther.id;
return other is AndroidSemanticsAction
&& other.id == id;
}
/// Creates a new [AndroidSemanticsAction] from an integer `value`.