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