distanceTo method

Future<num?> distanceTo(
  1. MPPoint destination
)

Calculates the shortest distance to another MPPoint

Implementation

Future<num?> distanceTo(MPPoint destination) async =>
    await UtilPlatform.instance.pointDistanceTo(this, destination);