ModelServerCommandRemoteNotificationSchedule constructor
const
ModelServerCommandRemoteNotificationSchedule({})
ModelServerCommandBase for remote PUSH notification to time.
Enter the text for the notification in the title and text fields, and specify a token or topic string for the notification in the tokens and topic fields.
If you use this in firestore, please specify the fields _time and _done in CollectionID:schedule to create the index.
timeにリモートPUSH通知を行うためのModelServerCommandBaseです。
titleやtextに通知用の文言を入力し、tokensやtopicに通知用のトークンやトピックの文字列を指定します。
firestoreでこちらを利用する場合CollectionID:scheduleで_timeと_doneのフィールドを指定してインデックスを作成してください。
Implementation
const factory ModelServerCommandRemoteNotificationSchedule({
required ModelTimestamp time,
required String title,
required String text,
required NotificationTargetQuery target,
String? channelId,
DynamicMap? data,
Uri? link,
int? badgeCount,
String? sound,
}) = _ModelServerCommandRemoteNotificationSchedule;