refreshPois method

  1. @override
Future<String?> refreshPois()
override

The function refreshPois is an asynchronous method that invokes a method channel to refresh points of interest (POIs) and returns a String value. @returns The method is returning a Future object that resolves to a String or null.

Implementation

@override
Future<String?> refreshPois() async {
  final returnVal = await methodChannel.invokeMethod<String>('refreshPois');
  return returnVal;
}