modifyClassification method
Implementation
Future<Classification> modifyClassification(String sdkId, Classification entity) async {
final res = await _methodChannel.invokeMethod<String>(
'ClassificationApi.tryAndRecover.modifyClassification',
{
"sdkId": sdkId,
"entity": jsonEncode(Classification.encode(entity)),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyClassification");
final parsedResJson = jsonDecode(res);
return Classification.fromJSON(parsedResJson);
}