equals method

bool equals(
  1. Route route
)

Checks whether this route is equal to route.

Compares this route's internal representation with another Route instance.

Parameters

  • route: The Route object to compare against.

Returns

  • true if the two routes are equal, otherwise false.

Implementation

bool equals(final Route route) {
  final OperationResult resultString = objectMethod(
    super.pointerId,
    'Route',
    'equals',
    args: route.pointerId,
  );

  return resultString['result'];
}