getReplicationInfo method

Future<ReplicationInfo> getReplicationInfo(
  1. String sdkId
)

Implementation

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