expect method

Future<T> expect(
  1. String msg
)

Implementation

@pragma("vm:prefer-inline")
Future<T> expect(String msg) {
  return then((option) => option.expect(msg));
}