getReplicationInfo method

Future<ReplicationInfo> getReplicationInfo(
  1. String sdkId,
  2. String id
)

Implementation

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