allCampaigns static method

Future<List<NamiCampaign>> allCampaigns()

Implementation

static Future<List<NamiCampaign>> allCampaigns() async {
  List<dynamic> list = await channel.invokeMethod("allCampaigns");
  return list.map((e) => NamiCampaign.fromMap(e)).toList();
}