operator [] method

  1. @override
S operator [](
  1. _ResultEarlyReturnKey<F> op
)
override

Functions an "Early Return Operator" when given an "Early Return key" "$". See Result.$ for more information.

Implementation

@override
@pragma("vm:prefer-inline")
// ignore: library_private_types_in_public_api
S operator [](_ResultEarlyReturnKey<F> op) {
  return ok;
}