Notification class Null safety
A notification of one event relating to an enterprise.
Constructors
- Notification({AppRestrictionsSchemaChangeEvent? appRestrictionsSchemaChangeEvent, AppUpdateEvent? appUpdateEvent, DeviceReportUpdateEvent? deviceReportUpdateEvent, String? enterpriseId, InstallFailureEvent? installFailureEvent, NewDeviceEvent? newDeviceEvent, NewPermissionsEvent? newPermissionsEvent, String? notificationType, ProductApprovalEvent? productApprovalEvent, ProductAvailabilityChangeEvent? productAvailabilityChangeEvent, String? timestampMillis})
- Notification.fromJson(Map json_)
Properties
- appRestrictionsSchemaChangeEvent ↔ AppRestrictionsSchemaChangeEvent?
-
Notifications about new app restrictions schema changes.
read / write
- appUpdateEvent ↔ AppUpdateEvent?
-
Notifications about app updates.
read / write
- deviceReportUpdateEvent ↔ DeviceReportUpdateEvent?
-
Notifications about device report updates.
read / write
- enterpriseId ↔ String?
-
The ID of the enterprise for which the notification is sent.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- installFailureEvent ↔ InstallFailureEvent?
-
Notifications about an app installation failure.
read / write
- newDeviceEvent ↔ NewDeviceEvent?
-
Notifications about new devices.
read / write
- newPermissionsEvent ↔ NewPermissionsEvent?
-
Notifications about new app permissions.
read / write
- notificationType ↔ String?
-
Type of the notification.
Possible string values are:
read / write
- productApprovalEvent ↔ ProductApprovalEvent?
-
Notifications about changes to a product's approval status.
read / write
- productAvailabilityChangeEvent ↔ ProductAvailabilityChangeEvent?
-
Notifications about product availability changes.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- timestampMillis ↔ String?
-
The time when the notification was published in milliseconds since
1970-01-01T00:00:00Z.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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