OANotification class
OA notification
Constructors
- OANotification({String? notificationName, String? notificationFaceURL, int? notificationType, String? text, String? externalUrl, int? mixType, PictureElem? pictureElem, SoundElem? soundElem, VideoElem? videoElem, FileElem? fileElem, String? ex})
-
OANotification.fromJson(Map<
String, dynamic> json)
Properties
- ex ↔ String?
-
Additional field
getter/setter pair
- externalUrl ↔ String?
-
Redirect link
getter/setter pair
- fileElem ↔ FileElem?
-
File information
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mixType ↔ int?
-
0: Text-only notification
1: Text + Image notification
2: Text + Video notification
3: Text + File notification
getter/setter pair
- notificationFaceURL ↔ String?
-
Avatar
getter/setter pair
- notificationName ↔ String?
-
Title
getter/setter pair
- notificationType ↔ int?
-
Type
getter/setter pair
- pictureElem ↔ PictureElem?
-
Image information
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- soundElem ↔ SoundElem?
-
Sound information
getter/setter pair
- text ↔ String?
-
Text content
getter/setter pair
- videoElem ↔ VideoElem?
-
Video information
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited