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