RuntimeFunctionsAdapter class
FunctionsAdapter] that only returns a normal system without communicating with the server side.
Use as a test stub.
サーバー側と通信せずに正常系を返すだけのFunctionsAdapter。
テスト用のスタブとして利用してください。
- Inheritance
-
- Object
- FunctionsAdapter
- RuntimeFunctionsAdapter
Constructors
-
RuntimeFunctionsAdapter({List<
FunctionStub> functions = const []}) -
FunctionsAdapter] that only returns a normal system without communicating with the server side.
const
Properties
- endpoint → String
-
URL of the endpoint where the Functions are executed.
final
-
functions
→ List<
FunctionStub> -
Stubbed functions.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute<
TResponse> (FunctionsAction< TResponse> action) → Future<TResponse> -
Executes a Function with
action
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override