getLinkedIdentityNums method

Future getLinkedIdentityNums({
  1. required List<String> targetIdentityIds,
})

Returns the numbers of linked identities for given target identity IDs

Implementation

Future getLinkedIdentityNums({
	required List<String> targetIdentityIds,
}) async {
	var url = '/get-linked-identity-nums';
	var params = <String,dynamic>{
		"targetIdentityIds": targetIdentityIds
	};

	var resp = await _invoke(url, params, true);

	if (resp['result'] != 'OK') throw resp['result'];

	return resp['identityNums'];
}