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
- Available Extensions
Constructors
- RuntimeFunctionsAdapter()
-
FunctionsAdapter] that only returns a normal system without communicating with the server side.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAgoraToken(
{required String channelName, AgoraClientRole clientRole = AgoraClientRole.audience}) → Future< String> -
Functions for issuing tokens to be used by Agora.io.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAIChatGPT(
{required List< OpenAIChatGPTMessage> messages, OpenAIChatGPTModel model = OpenAIChatGPTModel.gpt35Turbo}) → Future<OpenAIChatGPTMessage?> -
Chat using OpenAI's Chat GPT.
override
-
sendNotification(
{required String title, required String text, String? channel, DynamicMap? data, required String target}) → Future< void> -
PUSH notification.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited