ToggleChatMute$Mutation$ToggleChatMute.fromJson constructor
ToggleChatMute$Mutation$ToggleChatMute.fromJson( - Map<String, dynamic> json
)
Implementation
factory ToggleChatMute$Mutation$ToggleChatMute.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ChatEventsVersioned':
return ToggleChatMute$Mutation$ToggleChatMute$ChatEventsVersioned
.fromJson(json);
case r'ToggleChatMuteError':
return ToggleChatMute$Mutation$ToggleChatMute$ToggleChatMuteError
.fromJson(json);
default:
}
return _$ToggleChatMute$Mutation$ToggleChatMuteFromJson(json);
}