createCompleter static method
dynamic
createCompleter()
Implementation
static createCompleter() {
Completer completer = Completer();
return {
'completer': completer,
"success": allowInterop((res) {
completer.complete(res);
}),
"fail": allowInterop((err) {
completer.completeError(err);
})
};
}