RemoteNotificationScheduleModel class
This model is for scheduling and registering remote PUSH notifications.
Specify the date and time to send the notification in time
.
Specify the title of the notification in title
. Specify the body of the notification in text
.
リモートPUSH通知をスケジュールして登録するためのモデルです。
time
に通知を送信する日時を指定します。
title
に通知のタイトルを指定します。text
に通知の本文を指定します。
- Implemented types
- Annotations
-
- @freezed
- @formValue
- @immutable
- @CollectionModelPath(SchedulerQuery.path, adapter: "RemoteNotificationMasamuneAdapter.primary.modelAdapter")
Constructors
- RemoteNotificationScheduleModel({required ModelServerCommandRemoteNotificationSchedule command})
-
This model is for scheduling and registering remote PUSH notifications.
constfactory
-
RemoteNotificationScheduleModel.fromJson(Map<
String, Object?> json) -
factory
Properties
- command → ModelServerCommandRemoteNotificationSchedule
-
no setterinherited
-
copyWith
→ $RemoteNotificationScheduleModelCopyWith<
RemoteNotificationScheduleModel> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- collection → const _$RemoteNotificationScheduleModelCollectionQuery
- Query for collection.
- document → const _$RemoteNotificationScheduleModelDocumentQuery
- Query for document.
- form → const _$RemoteNotificationScheduleModelFormQuery
- Query for form value.