FunctionStub constructor
const
FunctionStub(
- String functionName,
- FutureOr<
DynamicMap> process(- DynamicMap input
Class for stubbing specific functions used in RuntimeFunctionsAdapter.
Specify the function name in functionName
and describe the processing of the function in process
.
RuntimeFunctionsAdapterで用いる特定の関数をスタブ化するためのクラス。
functionName
に関数名を指定し、process
に関数の処理を記述します。
Implementation
const FunctionStub(this.functionName, this.process);