getSourceIds method
Implementation
@override
Future<List> getSourceIds() async {
try {
final Map<dynamic, dynamic> reply =
await _channel.invokeMethod('style#getSourceIds');
return reply['sources'].map((it) => it.toString()).toList();
} on PlatformException catch (e) {
return Future.error(e);
}
}