menu
rust_core package
documentation
option.dart
NoneMethodsExtension
expect method
expect method
dark_mode
light_mode
expect
method
Never
expect
(
String
msg
)
Implementation
Infallible expect(String msg) { throw Panic("Called `expect` on a value that was `None`. $msg"); }
rust_core package
documentation
option
NoneMethodsExtension
expect method
NoneMethodsExtension extension on _None