Future<int> getDuration() async { _ensureIsolate(); return await (await _isolate!)({ #type: #getDuration, }); }