HideChat$Mutation$HideChat.fromJson constructor

HideChat$Mutation$HideChat.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HideChat$Mutation$HideChat.fromJson(Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'ChatEventsVersioned':
      return HideChat$Mutation$HideChat$ChatEventsVersioned.fromJson(json);
    case r'HideChatError':
      return HideChat$Mutation$HideChat$HideChatError.fromJson(json);
    default:
  }
  return _$HideChat$Mutation$HideChatFromJson(json);
}