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