removeEndpoints method

Future<void> removeEndpoints()

Deletes the endpoint files and service.json (a stop).

Implementation

Future<void> removeEndpoints() async {
  await removeStaleEndpoints();
  final info = File(infoFile);
  if (await info.exists()) await info.delete();
}