Answer the question
In order to leave comments, you need to log in
What about tests in android studio and flutter isolate?
Hello, could you help me with tests in android studio and flutter isolate?
More specifically, I have this test:
import 'package:flutter/foundation.dart';
import 'package:test/test.dart';
dynamic testFunGlobal(var s) {
return 111;
}
Future<dynamic> testFun() async {
return await compute(testFunGlobal, "11");
}
void main() {
test('test', () async {
var a = await testFun();
print(a);
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question