GetMyNotificationsResponse class
Constructors
-
GetMyNotificationsResponse({Map<
String, String> translations = const {}, required bool isSubscribed, required bool hasMore, List<RenderableUserNotification> notifications = const [], required APIStatus status}) - Returns a new GetMyNotificationsResponse instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasMore ↔ bool
-
getter/setter pair
- isSubscribed ↔ bool
-
getter/setter pair
-
notifications
↔ List<
RenderableUserNotification> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ APIStatus
-
getter/setter pair
-
translations
↔ Map<
String, String> -
Construct a type with a set of properties K of type T
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) → GetMyNotificationsResponse? -
Returns a new GetMyNotificationsResponse instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GetMyNotificationsResponse> -
mapFromJson(
dynamic json) → Map< String, GetMyNotificationsResponse> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GetMyNotificationsResponse> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.