RTCMutedUser.fromMap constructor

RTCMutedUser.fromMap(
  1. dynamic map
)

Implementation

factory RTCMutedUser.fromMap(dynamic map) {
  if (map == null) throw ArgumentError('The type of action map is null');
  return RTCMutedUser(
      muted: map['muted'] == null ? null : RTCUser.fromMap(map['muted']!),
      mutedBy:
          map['mutedBy'] == null ? null : RTCUser.fromMap(map['mutedBy']!));
}