equals method

  1. @override
FutureOr<bool> equals(
  1. Object other
)
override

Implementation

@override
FutureOr<bool> equals(Object other) async {
  if (identical(this, other)) return true;

  if (other is ASTValueArray) {
    var context = VMContext.getCurrent();
    var v1 = await _getValue(context, this);
    var v2 = await _getValue(context, other);
    return _listEquality.equals(v1, v2);
  }
  return super == (other);
}