getCurrentDataOwnerHierarchyIdsReference method

Future<List<EntityReferenceInGroup>> getCurrentDataOwnerHierarchyIdsReference(
  1. String sdkId
)

Implementation

Future<List<EntityReferenceInGroup>> getCurrentDataOwnerHierarchyIdsReference(String sdkId) async {
	final res = await _methodChannel.invokeMethod<String>(
		'DataOwnerApi.getCurrentDataOwnerHierarchyIdsReference',
		{
			"sdkId": sdkId,
		}
	).catchError(convertPlatformException);
	if (res == null) throw AssertionError("received null result from platform method getCurrentDataOwnerHierarchyIdsReference");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as List<dynamic>).map((x1) => EntityReferenceInGroup.fromJSON(x1) ).toList();
}