getDataOwnersWithAccessTo method
      
Future<EntityAccessInformation> 
getDataOwnersWithAccessTo(
    
    
- String sdkId,
- GroupScoped<Patient> patient
Implementation
Future<EntityAccessInformation> getDataOwnersWithAccessTo(String sdkId, GroupScoped<Patient> patient) async {
	final res = await _methodChannel.invokeMethod<String>(
		'PatientApi.inGroup.getDataOwnersWithAccessTo',
		{
			"sdkId": sdkId,
			"patient": jsonEncode(GroupScoped.encode(
				patient,
				(x0) {
					return Patient.encode(x0);
				},
			)),
		}
	).catchError(convertPlatformException);
	if (res == null) throw AssertionError("received null result from platform method getDataOwnersWithAccessTo");
	final parsedResJson = jsonDecode(res);
	return EntityAccessInformation.fromJSON(parsedResJson);
}