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