createdAt property
Indicates when the message was created.
Returns the latest between localCreatedAt and remoteCreatedAt. If both are null, returns DateTime.now.
Implementation
@JsonKey(includeToJson: false)
DateTime get createdAt => localCreatedAt ?? remoteCreatedAt ?? DateTime.now();