NotificationResponseDto class

Annotations
  • @freezed

Constructors

NotificationResponseDto.new({required int id, required String title, required String body, required String kind, required String value, required NotificationResponseDtoCategory category, required NotificationResponseDtoActor actor, required String createdAt})
const
factory
NotificationResponseDto.fromJson(Map<String, dynamic> json)
factory

Properties

actor NotificationResponseDtoActor
no setterinherited
body String
no setterinherited
category NotificationResponseDtoCategory
no setterinherited
copyWith → $NotificationResponseDtoCopyWith<NotificationResponseDto>
Create a copy of NotificationResponseDto with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
kind String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
no setterinherited
value String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this NotificationResponseDto to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited