deleteInsurance method
Implementation
Future<DocIdentifier> deleteInsurance(String sdkId, String insuranceId) async {
final res = await _methodChannel.invokeMethod<String>(
'InsuranceApi.deleteInsurance',
{
"sdkId": sdkId,
"insuranceId": jsonEncode(insuranceId),
}
);
if (res == null) throw AssertionError("received null result from platform method deleteInsurance");
final parsedResJson = jsonDecode(res);
return DocIdentifier.fromJSON(parsedResJson);
}