ForwardChatItems$Mutation$ForwardChatItems.fromJson constructor

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

Implementation

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