WMTOperationAttributeAlert class
Alert attribute represents a notification or message that should be displayed to the user. It contains information about the type, title, and message of the alert.
- Inheritance
-
- Object
- WMTUserOperationAttribute
- WMTOperationAttributeAlert
Constructors
- WMTOperationAttributeAlert({required String id, required String label, required WMTAttributeAlertType alertType, required String message, String? title})
-
WMTOperationAttributeAlert.fromJson(Map<
String, dynamic> json) -
factory
Properties
- alertType → WMTAttributeAlertType
-
Type of the alert that determines its visual appearance.
Possible values: SUCCESS, WARNING, INFO, ERROR
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
ID (type) of the label. This is highly depended on the backend
and can be used to change the appearance of the label.
finalinherited
- label → String
-
Value of the attribute.
finalinherited
- message → String
-
Message content of the alert.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
Title of the alert. Optional.
final
- type → WMTAttributeType
-
Type of the operation.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited