ChatEventsVersionedMixin$Events$EventChatMuted$Duration.fromJson constructor

ChatEventsVersionedMixin$Events$EventChatMuted$Duration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChatEventsVersionedMixin$Events$EventChatMuted$Duration.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'MuteUntilDuration':
      return ChatEventsVersionedMixin$Events$EventChatMuted$Duration$MuteUntilDuration
          .fromJson(json);
    default:
  }
  return _$ChatEventsVersionedMixin$Events$EventChatMuted$DurationFromJson(
      json);
}