GroupPreferences.fromMap constructor

GroupPreferences.fromMap(
  1. dynamic map
)

Implementation

GroupPreferences.fromMap(dynamic map) {
  messages = MessagesOptions.fromValue(map['groupMessages']);
  replies = RepliesOptions.fromValue(map['groupReplies']);
  reactions = ReactionsOptions.fromValue(map['groupReactions']);
  memberLeft = MemberActionsOptions.fromValue(map['groupMemberLeft']);
  memberAdded = MemberActionsOptions.fromValue(map['groupMemberAdded']);
  memberJoined = MemberActionsOptions.fromValue(map['groupMemberJoined']);
  memberKicked = MemberActionsOptions.fromValue(map['groupMemberKicked']);
  memberBanned = MemberActionsOptions.fromValue(map['groupMemberBanned']);
  memberUnbanned = MemberActionsOptions.fromValue(map['groupMemberUnbanned']);
  memberScopeChanged =
      MemberActionsOptions.fromValue(map['groupMemberScopeChanged']);
}