MessageUtil class

Constructors

MessageUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

formatMuteTime(int seconds, BuildContext context) String
getCancelGroupAdminDisplayString(CancelGroupAdminSystemMessage systemMessage, BuildContext context) String
getChangeGroupAvatarDisplayString(ChangeGroupAvatarSystemMessage systemMessage, BuildContext context) String
getChangeGroupIntroductionDisplayString(ChangeGroupIntroductionSystemMessage systemMessage, BuildContext context) String
getChangeGroupMuteAllDisplayString(ChangeGroupMuteAllSystemMessage systemMessage, BuildContext context) String
getChangeGroupNameDisplayString(ChangeGroupNameSystemMessage systemMessage, BuildContext context) String
getChangeGroupNotificationDisplayString(ChangeGroupNotificationSystemMessage systemMessage, BuildContext context) String
getChangeGroupOwnerDisplayString(ChangeGroupOwnerSystemMessage systemMessage, BuildContext context) String
getChangeInviteToGroupApprovalDisplayString(ChangeInviteToGroupApprovalSystemMessage systemMessage, BuildContext context) String
getChangeJoinGroupApprovalDisplayString(ChangeJoinGroupApprovalSystemMessage systemMessage, BuildContext context) String
getInviteToGroupDisplayString(InviteToGroupSystemMessage systemMessage, BuildContext context) String
getJoinGroupDisplayString(JoinGroupSystemMessage systemMessage, BuildContext context) String
getKickedFromGroupDisplayString(KickedFromGroupSystemMessage systemMessage, BuildContext context) String
getMessageAbstract(MessageInfo? messageInfo, BuildContext context) String
getMuteGroupMemberDisplayString(MuteGroupMemberSystemMessage systemMessage, BuildContext context) String
getPinGroupMessageDisplayString(PinGroupMessageSystemMessage systemMessage, BuildContext context) String
getQuitGroupDisplayString(QuitGroupSystemMessage systemMessage, BuildContext context) String
getRevokeDisplayString(RecallMessageSystemMessage systemMessage, BuildContext context) String
getSetGroupAdminDisplayString(SetGroupAdminSystemMessage systemMessage, BuildContext context) String
getSingleSystemInfoDisplayString(SystemMessageInfo systemMessage, BuildContext context) String
getSystemInfoDisplayString(List<SystemMessageInfo> systemMessages, BuildContext context) String
getUnpinGroupMessageDisplayString(UnpinGroupMessageSystemMessage systemMessage, BuildContext context) String
isSystemStyleCustomMessage(MessageInfo message, BuildContext context) bool