DeleteChatForward$Mutation$DeleteChatForward.fromJson constructor

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

Implementation

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