equals method

FutureOr<bool> equals(
  1. Object other
)

Implementation

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

  if (other is ASTValue) {
    var context = VMContext.getCurrent();
    var v1 = await _getValue(context, this);
    var v2 = await _getValue(context, other);
    return v1 == v2;
  }
  return false;
}