resolveContactsConflicts method

Future<List<IdWithRev>> resolveContactsConflicts(
  1. String sdkId,
  2. int? limit
)

Implementation

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