removeEndpoints method
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();
}
Deletes the endpoint files and service.json (a stop).
Future<void> removeEndpoints() async {
await removeStaleEndpoints();
final info = File(infoFile);
if (await info.exists()) await info.delete();
}