getInboxItems static method
Implementation
static Future<List<KumulosInAppInboxItem>> getInboxItems() async {
var data = await Kumulos._channel.invokeMethod('inAppGetInboxItems');
if (data == null) {
return [];
}
var items = List.from(data)
.map((e) => KumulosInAppInboxItem.fromMap(Map<String, dynamic>.from(e)))
.toList();
return items;
}