callByteMethod method
async call native method which return byte
Implementation
Future<int> callByteMethod(String methodName,
{List? args,
List<String>? assignedSignature,
Thread thread = Thread.mainThread}) async {
return callMethod(methodName, 'B',
args: args, assignedSignature: assignedSignature, thread: thread)
.then((value) => value);
}