zone_error.dart

Dartマスター

Explorer

C40
C++40
C#40
Dart
初級10
中級10
上級10
エキスパート5
マスター5
stream_transformer.dart
isolate_compute.dart
mixin_state.dart
extension_async.dart
zone_error.dart
Go40
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R40
Ruby40
Rust40
Shell40
Swift40
TypeScript40
zone_error.dart
Click to focus
1
2
3
4
5
6
7
8
9
10
11
12
void runGuarded(void Function() fn) {
   runZonedGuarded(() {
       fn();
   }, (error, stack) {
       print('Error: $error');
       print('Stack: $stack');
   }, zoneSpecification: ZoneSpecification(
       print: (_, __, ___, String line) {
           logger.log(line);
       }
   ));
}
0WPM0%0:000/292(0%)|Ln 1, Col 1
UTF-8Dart

関連する練習問題