solveConflicts method

Future<List<IdWithRev>> solveConflicts(
  1. String sdkId,
  2. String id,
  3. int? limit,
  4. bool? warmup,
)

Implementation

Future<List<IdWithRev>> solveConflicts(String sdkId, String id, int? limit, bool? warmup) async {
	final res = await _methodChannel.invokeMethod<String>(
		'GroupApi.solveConflicts',
		{
			"sdkId": sdkId,
			"id": jsonEncode(id),
			"limit": jsonEncode(limit),
			"warmup": jsonEncode(warmup),
		}
	);
	if (res == null) throw AssertionError("received null result from platform method solveConflicts");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as List<dynamic>).map((x1) => IdWithRev.fromJSON(x1) ).toList();
}