TransformDialogCallIntoGroupCall$Mutation$TransformDialogCallIntoGroupCall.fromJson constructor

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

Implementation

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