GroupMemberChangedInfoEntity.fromJson constructor

GroupMemberChangedInfoEntity.fromJson(
  1. dynamic data
)

Implementation

GroupMemberChangedInfoEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  if (json['userID'] != null) userID = json['userID'];
  if (json['muteTime'] != null) muteTime = json['muteTime'];
}