shareWithMany method
Implementation
Future<DecryptedHealthElement> shareWithMany(String sdkId, DecryptedHealthElement healthElement, Map<String, HealthElementShareOptions> delegates) async {
final res = await _methodChannel.invokeMethod<String>(
'HealthElementApi.shareWithMany',
{
"sdkId": sdkId,
"healthElement": jsonEncode(DecryptedHealthElement.encode(healthElement)),
"delegates": jsonEncode(delegates.map((k0, v0) => MapEntry(k0, HealthElementShareOptions.encode(v0)))),
}
);
if (res == null) throw AssertionError("received null result from platform method shareWithMany");
final parsedResJson = jsonDecode(res);
return DecryptedHealthElement.fromJSON(parsedResJson);
}