HeaderAccountNotification class
Constructors
-
HeaderAccountNotification({required String id, required String title, required String message, required Map<
String, String> ? messagesByLocale, required Map<String, String> ? dates, required String severity, required String? linkUrl, required String? linkText, required DateTime createdAt, String? type}) - Returns a new HeaderAccountNotification instance.
Properties
- createdAt ↔ DateTime
-
getter/setter pair
-
dates
↔ Map<
String, String> ? -
Construct a type with a set of properties K of type T
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String
-
getter/setter pair
- linkText ↔ String?
-
getter/setter pair
- linkUrl ↔ String?
-
getter/setter pair
- message ↔ String
-
getter/setter pair
-
messagesByLocale
↔ Map<
String, String> ? -
Construct a type with a set of properties K of type T
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity ↔ String
-
getter/setter pair
- title ↔ String
-
getter/setter pair
- type ↔ String?
-
Discriminator for notifications with a special layout/click handler (e.g. "feedback-offer").
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → HeaderAccountNotification? -
Returns a new HeaderAccountNotification instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< HeaderAccountNotification> -
mapFromJson(
dynamic json) → Map< String, HeaderAccountNotification> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< HeaderAccountNotification> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.