equals method

bool equals(
  1. HandSignatureControl other
)

Currently checks only equality of paths.

Implementation

bool equals(HandSignatureControl other) {
  if (paths.length == other.paths.length) {
    for (int i = 0; i < paths.length; i++) {
      if (!paths[i].equals(other.paths[i])) {
        return false;
      }
    }

    return true;
  }

  return false;
}