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