getDestinations method

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

Implementation

@override
Future<List<Map<dynamic, dynamic>>> getDestinations() async {
  final results = await _methodChannel
      .invokeListMethod<Map<dynamic, dynamic>>(Constants.getDestinations);
  return results ?? [];
}