[−]Macro dart::dart_unwrap
Unwraps a result, propagating the Dart error, should it be
present. This will never return if it happens to encounter
an Err(e)
variant.
Usage
let my_list = List::new_data(vec![1u8, 2, 3, 4]); let result = my_list.get_at(4); let int = dart_unwrap!(result); // Oh noes! We got an error! println!("{:?}", *int); // This will never run.