unwrap method

Future<T> unwrap()

Waits for this future to complete and returns its JsonRpcContextResult.value.

The caller must ensure that JsonRpcContextResult.value will not be null.

Implementation

Future<T> unwrap() => then((final JsonRpcContextResponse<T> value) => value.result!.value!);