getAllLabels method
Implementation
@override
Future<List<Catalog>> getAllLabels() async {
final result = await methodChannel.invokeListMethod("getAllLabels");
List<Catalog> catalog = [];
if (result != null) {
for (var item in result) {
catalog.add(Catalog.fromRawJson(item));
}
}
return catalog;
}