FunctionStub constructor

const FunctionStub(
  1. String functionName,
  2. FutureOr<DynamicMap> process(
    1. 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);