unwrapValue method

T unwrapValue()

If this beacon's value is AsyncData, returns it's value. Otherwise throws an exception. equivalent to beacon.peek().unwrap()

Implementation

T unwrapValue() => peek().unwrap();