deleteAgendas method

Future<List<DocIdentifier>> deleteAgendas(
  1. String sdkId,
  2. List<Agenda> agendas
)

Implementation

Future<List<DocIdentifier>> deleteAgendas(String sdkId, List<Agenda> agendas) async {
	final res = await _methodChannel.invokeMethod<String>(
		'AgendaApi.deleteAgendas',
		{
			"sdkId": sdkId,
			"agendas": jsonEncode(agendas.map((x0) => Agenda.encode(x0)).toList()),
		}
	);
	if (res == null) throw AssertionError("received null result from platform method deleteAgendas");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as List<dynamic>).map((x1) => DocIdentifier.fromJSON(x1) ).toList();
}