getDestinations method

  1. @override
Future<List<Map>?> getDestinations()
override

Implementation

@override
Future<List<Map<dynamic, dynamic>>?> getDestinations() {
  return _methodChannel
      .invokeListMethod<Map<dynamic, dynamic>>(Constants.getDestinations);
}