Data class

Annotations
  • @JsonSerializable()

Constructors

Data({String? companyUid, String? contactUid, DateTime? createdAt, int? id, String? message, String? messageFrom, String? messageType, String? platform, String? recipientId, String? senderId, String? status, String? timestamp, String? twitterMessageUid, String? uid, DateTime? updatedAt})
const
Data.fromJson(Map<String, dynamic> json)
factory

Properties

companyUid String?
final
contactUid String?
final
createdAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
message String?
final
messageFrom String?
final
messageType String?
final
platform String?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
recipientId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderId String?
final
status String?
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
timestamp String?
final
twitterMessageUid String?
final
uid String?
final
updatedAt DateTime?
final

Methods

copyWith({String? companyUid, String? contactUid, DateTime? createdAt, int? id, String? message, String? messageFrom, String? messageType, String? platform, String? recipientId, String? senderId, String? status, String? timestamp, String? twitterMessageUid, String? uid, DateTime? updatedAt}) Data
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 ==(Object other) bool
The equality operator.
inherited