lastMessageAttachment property Null safety

NIMMessageAttachment? lastMessageAttachment
@JsonKey(fromJson: NIMMessageAttachment._fromMap, toJson: NIMMessageAttachment._toMap), final

If the most recent message belongs to the extended type, get the attachment of the message.
You can define custom brief text for messages in the recent message list.

Implementation

@JsonKey(
    fromJson: NIMMessageAttachment._fromMap,
    toJson: NIMMessageAttachment._toMap)
final NIMMessageAttachment? lastMessageAttachment;