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