createAgenda method
Implementation
Future<Agenda> createAgenda(String sdkId, Agenda agendaDto) async {
final res = await _methodChannel.invokeMethod<String>(
'AgendaApi.createAgenda',
{
"sdkId": sdkId,
"agendaDto": jsonEncode(Agenda.encode(agendaDto)),
}
);
if (res == null) throw AssertionError("received null result from platform method createAgenda");
final parsedResJson = jsonDecode(res);
return Agenda.fromJSON(parsedResJson);
}