NotificationListResponse class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

NotificationListResponse.new({List<NotificationViewModel>? items, int? unseenCount, int? totalCount})
NotificationListResponse.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
items List<NotificationViewModel>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int?
final
unseenCount int?
final

Methods

copyWith({List<NotificationViewModel>? items, int? unseenCount, int? totalCount}) NotificationListResponse

Available on NotificationListResponse, provided by the $NotificationListResponseExtension extension

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 ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const NotificationListResponse Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(NotificationListResponse instance)