updatedAt property

  1. @JsonKey(includeToJson: false)
DateTime get updatedAt

Indicates when the message was updated last time.

Returns the latest between localUpdatedAt and remoteUpdatedAt. If both are null, returns createdAt.

Implementation

@JsonKey(includeToJson: false)
DateTime get updatedAt => localUpdatedAt ?? remoteUpdatedAt ?? createdAt;