completeWithSync method
Implementation
Future<void> completeWithSync(T Function() fn) async {
try {
complete(fn());
} catch (e) {
completeError(e);
}
}
Future<void> completeWithSync(T Function() fn) async {
try {
complete(fn());
} catch (e) {
completeError(e);
}
}