UpdateUserCallCover$Mutation$UpdateUserCallCover.fromJson constructor

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

Implementation

factory UpdateUserCallCover$Mutation$UpdateUserCallCover.fromJson(
  Map<String, dynamic> json,
) {
  switch (json['__typename'].toString()) {
    case r'MyUserEventsVersioned':
      return UpdateUserCallCover$Mutation$UpdateUserCallCover$MyUserEventsVersioned.fromJson(
        json,
      );
    case r'UpdateUserCallCoverError':
      return UpdateUserCallCover$Mutation$UpdateUserCallCover$UpdateUserCallCoverError.fromJson(
        json,
      );
    default:
  }
  return _$UpdateUserCallCover$Mutation$UpdateUserCallCoverFromJson(json);
}