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