undeleteAgenda method

Future<Agenda> undeleteAgenda(
  1. String sdkId,
  2. Agenda agenda
)

Implementation

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