MockService<Value> constructor

MockService<Value>(
  1. Result<Value> _result
)

Creates a mock that always returns the given Result on every call.

Implementation

MockService(this._result);