MuteEvent.fromMap constructor

MuteEvent.fromMap(
  1. Map<String, dynamic> body
)

Implementation

factory MuteEvent.fromMap(Map<String, dynamic> body) {
  return MuteEvent(
    uuid: body['uuid'],
    mute: body['muted'],
  );
}