SendRemoteNotificationFunctionsAction class
FunctionsAction
for sending remote PUSH notifications from the server side.
リモートPUSH通知をサーバー側から送るためのFunctionsAction
。
実行する際はオブジェクトをFunctions.execute
に渡してFunction実行します。
final functions = Functions();
final response = functions.execute(AnyFunctionsAction());
- Inheritance
-
- Object
- FunctionsAction<
SendRemoteNotificationFunctionsActionResponse> - SendRemoteNotificationFunctionsAction
Constructors
- SendRemoteNotificationFunctionsAction({required String title, required String text, required NotificationTargetQuery target, String? channel, int? badgeCount, NotificationSound sound = NotificationSound.defaultSound, DynamicMap? data})
-
FunctionsAction
for sending remote PUSH notifications from the server side.const
Properties
- action → String
-
Action Name.
no setteroverride
- badgeCount → int?
-
Number of badges to display in PUSH notifications.
final
- channel → String?
-
Channel name for PUSH notifications.
final
- data → DynamicMap?
-
Other data to include in PUSH notifications.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sound → NotificationSound
-
Sound of PUSH notifications.
final
- target → NotificationTargetQuery
-
Set up notification destinations.
final
- text → String
-
PUSH Notification Content.
final
- title → String
-
Title of PUSH notification.
final
Methods
-
execute(
Future< DynamicMap?> callback(DynamicMap? map)) → Future<SendRemoteNotificationFunctionsActionResponse> -
The value is actually passed to the server side for execution.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → DynamicMap? -
Convert to
DynamicMap
to pass values to the server side.override -
toResponse(
DynamicMap map) → SendRemoteNotificationFunctionsActionResponse -
Converts the value returned from the server side to
TResponse
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited