Functions constructor

Functions({
  1. FunctionsAdapter? adapter,
})

An interface for executing server-side processing.

If the adapter is properly configured in FunctionsAdapterScope, server-side communication can be performed inside the method to obtain the appropriate response.

You can also specify individual adapters by passing them to adapter.

サーバー側の処理を実行するためのインターフェース。

FunctionsAdapterScopeでアダプターを適切に設定しておくとメソッドの内部でサーバー側の通信を行い適切なレスポンスを得ることができます。

またadapterに渡すことで個別にアダプターを指定することができます。

Implementation

Functions({FunctionsAdapter? adapter}) : _adapter = adapter;