getSources method

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

Implementation

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