RenameChat$Mutation$RenameChat.fromJson constructor

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

Implementation

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