ClearChat$Mutation$ClearChat.fromJson constructor

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

Implementation

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