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