FunctionStub class

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に関数の処理を記述します。

Available Extensions

Constructors

FunctionStub(String functionName, FutureOr<DynamicMap> process(DynamicMap input))
Class for stubbing specific functions used in RuntimeFunctionsAdapter.
const

Properties

functionName String
Function name.
final
hashCode int
The hash code for this object.
no setterinherited
process FutureOr<DynamicMap> Function(DynamicMap input)
Function processing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
inherited